[build] update release.sh to support publish beta package

This commit is contained in:
陈嘉涵 2019-05-22 10:27:47 +08:00
parent ec6820cf31
commit 701600966b

View File

@ -19,5 +19,10 @@ then
git push origin 1.x
git push origin refs/tags/v$VERSION
if [[ $VERSION =~ [beta] ]]
then
npm publish --tag beta
else
npm publish
fi
fi