@pmate/cli 0.38.3 → 0.38.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/index.js +1 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -341,3 +341,5 @@ Register an `ios` service with `repository` and `dir`. `--cwd` overrides the rep
|
|
|
341
341
|
The first invocation for each marketing version requires `--last-build <highest-used-build-for-this-version>` (0 only for a new version). The next Build is one greater than the maximum of the project value, imported value and locally reserved sequence for that version. Reservations, including failed builds, are kept separately per version. To migrate published date-based numbers, first increase MARKETING_VERSION and set CURRENT_PROJECT_VERSION to 0, then import 0 for the new version to start at Build 1. Import the current Apple maximum again after uploads outside this CLI or on another machine; this command does not query Apple build history. Do not lower or delete the sequence to reuse a number. Burgess performs the Apple history check and version migration automatically.
|
|
342
342
|
|
|
343
343
|
Sequences, retained archives, derived data and logs live in `~/.pmate/ios-builds/`. Project/source version files are not changed. A bundle-level exclusive lock prevents simultaneous builds on the same machine; it does not coordinate different machines. Build/upload failures keep the reserved number and logs; retry consumes the next number. After an interrupted process, remove a leftover `.lock` file only after confirming no build is still running. Builds require automatic signing; resolve Apple account/certificate/profile errors in Xcode. Extension or App targets with fixed plist versions must produce matching archive metadata or the upload is stopped.
|
|
344
|
+
|
|
345
|
+
Going Merry Web: `pmate service deploy pmate:merry` defaults to the registered `preview` environment serving https://merry.pmate.chat. An explicit `--env` overrides this default; other services still require `--env`. This command does not package Electron.
|
package/dist/index.js
CHANGED
|
@@ -24434,6 +24434,7 @@ function parseServiceArgs(tokens) {
|
|
|
24434
24434
|
return { type: "service" /* Service */, action, namespace, name, env, page, baseUrl, json };
|
|
24435
24435
|
}
|
|
24436
24436
|
if (action === "deploy" || action === "stop") {
|
|
24437
|
+
if (action === "deploy" && !env && namespace === "pmate" && name === "merry") env = "preview";
|
|
24437
24438
|
if (action === "deploy" && !env) {
|
|
24438
24439
|
throw new Error("Missing required option --env for service deploy");
|
|
24439
24440
|
}
|