From 271dde8f5e3acc12648d2d13c9d0eca3bdbcb030 Mon Sep 17 00:00:00 2001 From: "qingwei.li" Date: Thu, 27 Jul 2017 09:58:37 +0800 Subject: [PATCH] chore(*): fix changelog script --- build/release.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/release.sh b/build/release.sh index cb242e5..30d4fd6 100644 --- a/build/release.sh +++ b/build/release.sh @@ -30,10 +30,10 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then # commit git add -A git commit -m "[build] $VERSION $RELEASE_TAG" - npm version $VERSION --message "[release] $VERSION $RELEASE_TAG" + npm --no-git-tag-version version $VERSION --message "[release] $VERSION $RELEASE_TAG" # changelog - node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s -r 1 + node_modules/.bin/conventional-changelog -p angular -i CHANGELOG.md -s git add . git commit -m "chore: add changelog $VERSION"