@contrail/cli 3.7.0-alpha.d87db2f → 3.7.0-alpha.f992374
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/helpers/app/app-deployer.js +4 -0
- package/oclif.manifest.json +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@ $ npm install -g @contrail/cli
|
|
|
17
17
|
$ contrail COMMAND
|
|
18
18
|
running command...
|
|
19
19
|
$ contrail (--version)
|
|
20
|
-
@contrail/cli/3.7.0-alpha.
|
|
20
|
+
@contrail/cli/3.7.0-alpha.f992374 linux-x64 node-v24.22.2
|
|
21
21
|
$ contrail --help [COMMAND]
|
|
22
22
|
USAGE
|
|
23
23
|
$ contrail COMMAND
|
|
@@ -151,6 +151,8 @@ class AppDeployer {
|
|
|
151
151
|
logger_1.default.info(`${chalk_1.default.yellow.bold('APP')} Updated app: ${app.name}`);
|
|
152
152
|
return app;
|
|
153
153
|
}
|
|
154
|
+
// A pre-release is published as a version of its own. The app record and its latest version stay as they are,
|
|
155
|
+
// so orgs on a stable version are not offered the pre-release as an update.
|
|
154
156
|
async publishPrereleaseVersion(appDeclaration, existingApp) {
|
|
155
157
|
const appCodePackage = await createNodePackage(appDeclaration.appIdentifier, this.debug, this.dryRun);
|
|
156
158
|
if (this.dryRun) {
|
|
@@ -178,6 +180,8 @@ class AppDeployer {
|
|
|
178
180
|
},
|
|
179
181
|
});
|
|
180
182
|
logger_1.default.info(`${chalk_1.default.yellow.bold('APP')} Published pre-release version: ${appVersion.semver}`);
|
|
183
|
+
// The actions, extensions and workflow templates deployed next attach to latestAppVersionId,
|
|
184
|
+
// so it carries the version just published.
|
|
181
185
|
return { ...existingApp, latestAppVersionId: appVersion.id };
|
|
182
186
|
}
|
|
183
187
|
async remove(appDeclaration) {
|
package/oclif.manifest.json
CHANGED