Skip to content

Commit e414ed7

Browse files
tomchentwbcoe
authored andcommitted
feat(index.js): add checkpoint for publish script after tag successfully (#47)
1 parent db73c00 commit e414ed7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,10 @@ function tag (newVersion, argv) {
144144
if (errMessage) {
145145
console.log(chalk.red(errMessage))
146146
process.exit(1)
147+
} else {
148+
checkpoint('Run `%s` to publish.', [
149+
'git push --follow-tags origin master; npm publish'
150+
])
147151
}
148152
})
149153
}

0 commit comments

Comments
 (0)