chore: 2.5.1 fix

This commit is contained in:
iamkun
2019-01-26 20:48:25 +08:00
parent a86947892c
commit 3ea5da6038
2 changed files with 11 additions and 11 deletions

View File

@@ -16,16 +16,16 @@ then
VERSION=$VERSION npm run dist
# publish theme
# echo "Releasing theme-chalk $VERSION ..."
# cd packages/theme-chalk
# npm version $VERSION --message "[release] $VERSION"
# if [[ $VERSION =~ "beta" ]]
# then
# npm publish --tag beta
# else
# npm publish
# fi
# cd ../..
echo "Releasing theme-chalk $VERSION ..."
cd packages/theme-chalk
npm version $VERSION --message "[release] $VERSION"
if [[ $VERSION =~ "beta" ]]
then
npm publish --tag beta
else
npm publish
fi
cd ../..
# commit
git add -A