Skip to content

Commit

Permalink
feat(index.js): add checkpoint for publish script after tag successfu…
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw authored and bcoe committed May 31, 2016
1 parent db73c00 commit e414ed7
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 e414ed7

Please sign in to comment.