Skip to content

Commit d7dfd95

Browse files
committed
build: auto generate changelog upon version bump
1 parent 0a46c68 commit d7dfd95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"release": "release-it",
2020
"example": "yarn --cwd example",
2121
"bootstrap": "yarn example && yarn",
22-
"changelog": "yarn conventional-changelog -i CHANGELOG.md -s"
22+
"version": "conventional-changelog -i CHANGELOG.md -s && git add CHANGELOG.md"
2323
},
2424
"publishConfig": {
2525
"registry": "https://registry.npmjs.org/"

0 commit comments

Comments
 (0)