Skip to content

Commit eb0aa0b

Browse files
committed
Update release script
1 parent b6beaac commit eb0aa0b

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@
2727
},
2828
"scripts": {
2929
"prepublish": "npm run compile",
30-
"publish": "git push origin && git push origin --tags",
30+
"publish": "git push origin --tags && npm run changelog && git push origin",
31+
"changelog": "github_changelog_generator && git add CHANGELOG.md && git commit -am \"Updating changelog\"",
3132
"release:patch": "npm version patch && npm publish",
3233
"release:minor": "npm version minor && npm publish",
3334
"release:major": "npm version major && npm publish",

0 commit comments

Comments
 (0)