From 489ebfb91bd20f4fa4208a1c2486e4c51e782545 Mon Sep 17 00:00:00 2001 From: kim-codefresh Date: Wed, 14 Dec 2022 14:39:06 +0200 Subject: [PATCH 1/2] Revert "Cr 15741 (#773)" This reverts commit 7ef9d3a35526662105eea12220d0d22b9307687f. --- lib/interface/cli/commands/pipeline/run.cmd.js | 9 --------- package.json | 2 +- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/interface/cli/commands/pipeline/run.cmd.js b/lib/interface/cli/commands/pipeline/run.cmd.js index 3f8856fa7..7a63157ff 100644 --- a/lib/interface/cli/commands/pipeline/run.cmd.js +++ b/lib/interface/cli/commands/pipeline/run.cmd.js @@ -1,5 +1,4 @@ const debug = require('debug')('codefresh:cli:run:pipeline'); -const colors = require('colors'); const Command = require('../../Command'); const { crudFilenameOption } = require('../../helpers/general'); const RunLocalCommand = require('./run.local'); @@ -24,14 +23,6 @@ const run = new Command({ }, builder: (yargs) => { yargs - .check((argv) => { - const { trigger, branch, sha } = argv; - - if ((branch || sha) && !trigger) { - console.log(colors.yellow('Deprecation warning: usage of --sha or --branch without --trigger flag is deprecated')); - } - return true; - }) .option('trigger', { describe: 'Trigger id or name', alias: 't', diff --git a/package.json b/package.json index 56568196e..3a4a93e1c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codefresh", - "version": "0.81.3", + "version": "0.81.2", "description": "Codefresh command line utility", "main": "index.js", "preferGlobal": true, From bc14e32d2f1a681c544c133d65df16240c558266 Mon Sep 17 00:00:00 2001 From: kim-codefresh Date: Wed, 14 Dec 2022 14:40:10 +0200 Subject: [PATCH 2/2] bump --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 3a4a93e1c..320085bcb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "codefresh", - "version": "0.81.2", + "version": "0.81.4", "description": "Codefresh command line utility", "main": "index.js", "preferGlobal": true,