@fugood/bricks-cli 2.26.0-beta.24 → 2.26.0-beta.25
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 +6 -1
- package/lib/1010.js +1 -1
- package/lib/1215.js +1 -1
- package/lib/1708.js +4 -4
- package/lib/2486.js +1 -1
- package/lib/2517.js +1 -1
- package/lib/6194.js +1 -1
- package/lib/6818.js +1 -1
- package/lib/907.js +30 -19
- package/lib/9320.js +3 -3
- package/lib/9439.js +1 -1
- package/lib/index.js +12 -12
- package/lib/lib.js +133 -122
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -240,9 +240,14 @@ bricks app trigger <app-id> <test-id> [--play|--stop] [--setup-at-launch] [-g ma
|
|
|
240
240
|
bricks app control-page <app-id> -t <short-edit,canvas-control,device-control,device-control-create-only> [--token-name name] [--expires-in days] [-e KEY=VALUE] [--no-token] [--dry-run] [-j|--json]
|
|
241
241
|
# The printed URL is <controller>/<page>.html?workspace_secret=…&application_id=…; set BRICKS_CONTROLLER_URL to override the controller origin.
|
|
242
242
|
|
|
243
|
-
#
|
|
243
|
+
# Create a release (--dry-run checks it without publishing). A semver --version must be newer than every semver release in the cloud (see `bricks app versions <app-id> -j`); non-semver labels such as the default app name work as before.
|
|
244
244
|
bricks app release <app-id> -c <config-path-or-json> [-n name] [--version version] [--changelogs text] [--dry-run] [-j|--json]
|
|
245
245
|
|
|
246
|
+
# CTOR projects: a config-only push (update-app) is the normal last step after edits.
|
|
247
|
+
bricks ctor push --auto-commit -y
|
|
248
|
+
# Release (deploy-app) only when a new version is requested. The version (from --version, --auto-version or package.json) must be semver and newer than every cloud release; a duplicate or lower one is refused before anything changes. There is no bypass flag: restore an old release with `bricks app switch-version`.
|
|
249
|
+
bricks ctor deploy --auto-commit --version <next-version> -y
|
|
250
|
+
|
|
246
251
|
# List release versions, then switch the platform config to one (ID or name).
|
|
247
252
|
# The local CTOR project is not changed. Unreleased changes are dropped: confirm, or pass -y.
|
|
248
253
|
bricks app versions <app-id> [-j|--json]
|