Skip to content

Commit d866fe8

Browse files
committed
chore: update npm version script
1 parent 31d02d4 commit d866fe8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
message="release: %s"

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,8 @@
2626
"build": "./build_all.sh",
2727
"setup-ci": "./build_metadata_generator.sh",
2828
"update-version": "./update_version.sh",
29-
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s"
29+
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
30+
"version": "npm run changelog && git add CHANGELOG.md"
3031
},
3132
"license": "Apache-2.0",
3233
"devDependencies": {

0 commit comments

Comments
 (0)