Skip to content

Commit

Permalink
feat(semver): add postpublish hook
Browse files Browse the repository at this point in the history
The postpublish hook will push the newly release tags created by the npm publish command
  • Loading branch information
g-div committed Nov 24, 2015
1 parent 51f77fc commit ca658b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"patch": "npm version patch && npm publish",
"minor": "npm version minor && npm publish",
"major": "npm version major && npm publish",
"postpublish": "git push origin master --follow-tags",
"licenses": "license-checker"
},
"keywords": [
Expand Down

0 comments on commit ca658b3

Please sign in to comment.