@pmate/cli 0.38.4 → 0.38.6
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 +1 -1
- package/dist/index.js +1 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -342,4 +342,4 @@ The first invocation for each marketing version requires `--last-build <highest-
|
|
|
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
344
|
|
|
345
|
-
|
|
345
|
+
`pmate service deploy <ns:service>` defaults to `--env prod` for every service. Use explicit `--env preview` or `--env dev` to override it. For example, `pmate service deploy pmate:merry` deploys the production site https://merry.pmate.chat.
|
package/dist/index.js
CHANGED
|
@@ -24434,10 +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"
|
|
24438
|
-
if (action === "deploy" && !env) {
|
|
24439
|
-
throw new Error("Missing required option --env for service deploy");
|
|
24440
|
-
}
|
|
24437
|
+
if (action === "deploy") env ??= "prod";
|
|
24441
24438
|
return { type: "service" /* Service */, action, namespace, name, env, ...cwd ? { cwd } : {}, baseUrl, json };
|
|
24442
24439
|
}
|
|
24443
24440
|
if (action === "init") {
|