Skip to content

Commit

Permalink
feat(cli): use --no-cli to publish locally w/o prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
boennemann committed Feb 2, 2015
1 parent b39fecb commit f2c701c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/semantic-release
Expand Up @@ -72,7 +72,7 @@ if (~argv._.indexOf('post')) {
}

function confirmCI (cb) {
if (process.env.CI) return cb(null, true)
if (process.env.CI || argv.ci === false) return cb(null, true)

confirm('Not running in a CI enviroment. Are you sure you want to run this hook?', function (ok) {
if (!ok) process.exit(1)
Expand Down

0 comments on commit f2c701c

Please sign in to comment.