[build] 4.0.0 next

This commit is contained in:
qingwei.li 2017-05-30 04:39:43 +08:00
commit b9b9d87681
No known key found for this signature in database
GPG key ID: B6DDC2F7AE80B2F4
8 changed files with 774 additions and 614 deletions

View file

@ -12,7 +12,7 @@ echo
if [[ $REPLY =~ ^[Yy]$ ]]; then
echo "Releasing $VERSION ..."
npm run lint
npm run test
# build
VERSION=$VERSION npm run build
@ -29,8 +29,8 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
# commit
git add -A
git commit -m "[build] $VERSION"
npm version $VERSION --message "[release] $VERSION"
git commit -m "[build] $VERSION $RELEASE_TAG"
npm version $VERSION --message "[release] $VERSION $RELEASE_TAG"
# publish
git push origin refs/tags/v$VERSION