File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
interface/cli/commands/workflow Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,7 @@ const run = new Command({
107
107
108
108
_ . forEach ( executionRequests , async ( { pipelineId, options } ) => {
109
109
let workflowId ;
110
- if ( authManager . getCurrentContext ( )
111
- . isBetaFeatEnabled ( ) ) {
110
+ if ( ! ObjectID . isValid ( pipelineId ) ) {
112
111
workflowId = await pipeline2 . runPipelineByName ( pipelineId , options ) ;
113
112
} else {
114
113
workflowId = await pipeline . runPipelineById ( pipelineId , options ) ;
Original file line number Diff line number Diff line change @@ -55,13 +55,12 @@ const deletePipelineByName = async (name) => {
55
55
} ;
56
56
57
57
const runPipelineByName = async ( name , data ) => {
58
-
59
58
const body = _ . pick ( data , 'variables' , 'branch' ) ;
60
59
61
60
const options = {
62
61
url : `/api/pipelines/new/run/${ name } ` ,
63
62
method : 'POST' ,
64
- body
63
+ body,
65
64
} ;
66
65
67
66
return sendHttpRequest ( options ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " codefresh" ,
3
- "version" : " 0.6.5 " ,
3
+ "version" : " 0.6.6 " ,
4
4
"description" : " Codefresh command line utility" ,
5
5
"main" : " index.js" ,
6
6
"preferGlobal" : true ,
You can’t perform that action at this time.
0 commit comments