@commercetools-frontend/deployment-cli 2.0.4 → 2.0.5
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.
|
@@ -51,7 +51,7 @@ var pRetry__default = /*#__PURE__*/_interopDefault(pRetry);
|
|
|
51
51
|
|
|
52
52
|
var pkgJson = {
|
|
53
53
|
name: "@commercetools-frontend/deployment-cli",
|
|
54
|
-
version: "2.0.
|
|
54
|
+
version: "2.0.5",
|
|
55
55
|
description: "CLI to manage Custom Applications deployments in Google Storage.",
|
|
56
56
|
keywords: [
|
|
57
57
|
"commercetools",
|
|
@@ -582,7 +582,7 @@ async function run() {
|
|
|
582
582
|
});
|
|
583
583
|
|
|
584
584
|
// Command: Approve
|
|
585
|
-
commander.program.command('approve').description('Approves a job and by this triggers a deployment of a component. It requires a "CIRCLE_TOKEN" environment variable (https://circleci.com/docs/2.0/managing-api-tokens/).').
|
|
585
|
+
commander.program.command('approve').description('Approves a job and by this triggers a deployment of a component. It requires a "CIRCLE_TOKEN" environment variable (https://circleci.com/docs/2.0/managing-api-tokens/).').option('--approval-job [string]', '(optional) The name of the approval job to approve a deployment with.').option('--deployment-job [string]', '(optional) The name of the deployment job triggered by the approval job. If passed the CLI will print a URL to the deployment triggered on CircleCI.').option('--deployment [string]', '(optional) The name of a deployment configured in the configuration file.').option('--build-revision [git-sha]', '(optional) The git commit SHA that needs to be deployed. If not specified, the last successful pipeline is used.').option('--branch [string]', '(optional) The git branch to deploy from. If not specified.', 'main').option('--yes', '(optional) Skip all confirmation prompts. Useful in Continuous integration (CI) to automatically answer confirmation questions.', false).action(async options => {
|
|
586
586
|
const globalOptions = commander.program.opts();
|
|
587
587
|
if (globalOptions.dryRun) {
|
|
588
588
|
console.log(`🙊 Do not worry. This is a dry run!`);
|
|
@@ -51,7 +51,7 @@ var pRetry__default = /*#__PURE__*/_interopDefault(pRetry);
|
|
|
51
51
|
|
|
52
52
|
var pkgJson = {
|
|
53
53
|
name: "@commercetools-frontend/deployment-cli",
|
|
54
|
-
version: "2.0.
|
|
54
|
+
version: "2.0.5",
|
|
55
55
|
description: "CLI to manage Custom Applications deployments in Google Storage.",
|
|
56
56
|
keywords: [
|
|
57
57
|
"commercetools",
|
|
@@ -582,7 +582,7 @@ async function run() {
|
|
|
582
582
|
});
|
|
583
583
|
|
|
584
584
|
// Command: Approve
|
|
585
|
-
commander.program.command('approve').description('Approves a job and by this triggers a deployment of a component. It requires a "CIRCLE_TOKEN" environment variable (https://circleci.com/docs/2.0/managing-api-tokens/).').
|
|
585
|
+
commander.program.command('approve').description('Approves a job and by this triggers a deployment of a component. It requires a "CIRCLE_TOKEN" environment variable (https://circleci.com/docs/2.0/managing-api-tokens/).').option('--approval-job [string]', '(optional) The name of the approval job to approve a deployment with.').option('--deployment-job [string]', '(optional) The name of the deployment job triggered by the approval job. If passed the CLI will print a URL to the deployment triggered on CircleCI.').option('--deployment [string]', '(optional) The name of a deployment configured in the configuration file.').option('--build-revision [git-sha]', '(optional) The git commit SHA that needs to be deployed. If not specified, the last successful pipeline is used.').option('--branch [string]', '(optional) The git branch to deploy from. If not specified.', 'main').option('--yes', '(optional) Skip all confirmation prompts. Useful in Continuous integration (CI) to automatically answer confirmation questions.', false).action(async options => {
|
|
586
586
|
const globalOptions = commander.program.opts();
|
|
587
587
|
if (globalOptions.dryRun) {
|
|
588
588
|
console.log(`🙊 Do not worry. This is a dry run!`);
|
|
@@ -25,7 +25,7 @@ import pRetry from 'p-retry';
|
|
|
25
25
|
|
|
26
26
|
var pkgJson = {
|
|
27
27
|
name: "@commercetools-frontend/deployment-cli",
|
|
28
|
-
version: "2.0.
|
|
28
|
+
version: "2.0.5",
|
|
29
29
|
description: "CLI to manage Custom Applications deployments in Google Storage.",
|
|
30
30
|
keywords: [
|
|
31
31
|
"commercetools",
|
|
@@ -556,7 +556,7 @@ async function run() {
|
|
|
556
556
|
});
|
|
557
557
|
|
|
558
558
|
// Command: Approve
|
|
559
|
-
program.command('approve').description('Approves a job and by this triggers a deployment of a component. It requires a "CIRCLE_TOKEN" environment variable (https://circleci.com/docs/2.0/managing-api-tokens/).').
|
|
559
|
+
program.command('approve').description('Approves a job and by this triggers a deployment of a component. It requires a "CIRCLE_TOKEN" environment variable (https://circleci.com/docs/2.0/managing-api-tokens/).').option('--approval-job [string]', '(optional) The name of the approval job to approve a deployment with.').option('--deployment-job [string]', '(optional) The name of the deployment job triggered by the approval job. If passed the CLI will print a URL to the deployment triggered on CircleCI.').option('--deployment [string]', '(optional) The name of a deployment configured in the configuration file.').option('--build-revision [git-sha]', '(optional) The git commit SHA that needs to be deployed. If not specified, the last successful pipeline is used.').option('--branch [string]', '(optional) The git branch to deploy from. If not specified.', 'main').option('--yes', '(optional) Skip all confirmation prompts. Useful in Continuous integration (CI) to automatically answer confirmation questions.', false).action(async options => {
|
|
560
560
|
const globalOptions = program.opts();
|
|
561
561
|
if (globalOptions.dryRun) {
|
|
562
562
|
console.log(`🙊 Do not worry. This is a dry run!`);
|