chore: update release shell

This commit is contained in:
qingwei.li 2017-07-20 00:53:25 +08:00
commit 437737cc5a
4 changed files with 957 additions and 126 deletions

View file

@ -32,6 +32,12 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
git commit -m "[build] $VERSION $RELEASE_TAG"
npm version $VERSION --message "[release] $VERSION $RELEASE_TAG"
# changelog
node_modules/.bin/standard-changelog --first-release
git add .
git commit -m "chore: add changelog $VERSION"
# publish
git push origin refs/tags/v$VERSION
git push