Skip to content

Commit 271dde8

Browse files
committed
chore(*): fix changelog script
1 parent 1fa1619 commit 271dde8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/release.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
3030
# commit
3131
git add -A
3232
git commit -m "[build] $VERSION $RELEASE_TAG"
33-
npm version $VERSION --message "[release] $VERSION $RELEASE_TAG"
33+
npm --no-git-tag-version version $VERSION --message "[release] $VERSION $RELEASE_TAG"
3434

3535
# changelog
36-
node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 1
36+
node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s
3737

3838
git add .
3939
git commit -m "chore: add changelog $VERSION"

0 commit comments

Comments
 (0)