Skip to content

Commit 8b158e0

Browse files
committed
Update scripts
1 parent 6cb0d73 commit 8b158e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@
3636
"dev": "concurrently \"gulp\" \"npm run server:dev\"",
3737
"build": "gulp build",
3838
"server:dev": "browser-sync start --server --files \"index.html, README.md, static/**/*.(css|js)\"",
39-
"publish": "lerna publish --sort --cd-version",
39+
"publish": "lerna publish --sort && npm run changelog:commit",
4040
"postinstall": "lerna bootstrap && lerna link --force-local",
4141
"clean": "rm -rf node_modules && cd packages && eachdir rm -rf node_modules",
4242
"changelog": "conventional-changelog --release-count=0 > CHANGELOG.md",
43-
"changelog:commit": "npm run changelog && git add CHANGELOG.md && git commit -m 'Update Changelog'",
43+
"changelog:commit": "npm run changelog && git add CHANGELOG.md && git commit -m 'Update Changelog' && git push origin master",
4444
"lint": "standard-markdown && standard",
4545
"precommit": "lint-staged",
4646
"pretest": "npm run lint",

0 commit comments

Comments
 (0)