Skip to content

Commit

Permalink
feat(index.js): add checkpoint for publish script after tag successfully
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw committed May 30, 2016
1 parent db73c00 commit 4fdbfe3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,10 @@ function tag (newVersion, argv) {
if (errMessage) {
console.log(chalk.red(errMessage))
process.exit(1)
} else {
checkpoint('Run `%s` to publish.', [
'git push --follow-tags origin master; npm publish'
])
}
})
}
Expand Down

0 comments on commit 4fdbfe3

Please sign in to comment.