Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions codefresh-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ steps:

deploy_to_npm:
title: "Publishing To Npm"
image: codefresh/npm-publish:master
commands:
- NPM_TOKEN=${{NPM_TOKEN}} npm run ci-publish
type: npm-publish
arguments:
NPM_TOKEN: '${{NPM_TOKEN}}'
DIR: ./cli

compile_executables:
title: "Compiling executables"
Expand Down
7 changes: 4 additions & 3 deletions lib/interface/cli/commands/pipeline/run.cmd.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,11 @@ const run = new Command({
type: 'boolean',
})
.option('only', {
describe: 'run only specifc steps',
describe: 'run only specific steps',
array: true,
})
.option('skip', {
describe: 'skip specifc steps',
describe: 'skip specific steps',
array: true,
})
.option('debug', {
Expand All @@ -127,7 +127,8 @@ const run = new Command({
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -s=52b992e783d2f84dd0123c70ac8623b4f0f938d1', 'Defining the source control context using a commit')
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master -v key1=value1 -v key2=value2', 'Setting variables through the command')
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --var-file ./var_file.yml', 'Settings variables through a yml file')
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --context context', 'Inject contexts to the pipeline execution');
.example('codefresh run PIPELINE_ID | PIPELINE_NAME -b=master --context context', 'Inject contexts to the pipeline execution')
.example('codefresh run PIPELINE_ID | PIPELINE_NAME --skip step1 step2 step3', 'Skip specific steps');

crudFilenameOption(yargs, {
name: 'variable-file',
Expand Down
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
{
"name": "codefresh",
"version": "0.74.8",
"version": "0.74.9",
"description": "Codefresh command line utility",
"main": "index.js",
"preferGlobal": true,
"scripts": {
"generate-completion": "node ./lib/interface/cli/completion/generate",
"test": "jest .spec.js --coverage",
"eslint": "eslint lib1logic/**",
"ci-publish": "ci-publish",
"pkg": "pkg . -t node10-alpine-x64,node10-macos-x64,node10-linux-x64,node10-win-x64 --out-path ./dist",
"serve-docs": "yarn build-local-docs && cd temp && hugo server -D",
"serve-docs-beta": "ALLOW_BETA_COMMANDS=true yarn build-local-docs && cd temp && hugo server -D",
Expand Down Expand Up @@ -77,7 +76,6 @@
"yargs-parser": "^13.0.0"
},
"devDependencies": {
"ci-publish": "^1.3.0",
"eslint": "^4.11.0",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.8.0",
Expand Down
Loading