1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-06 03:58:05 +08:00

chore: update release.sh ()

This commit is contained in:
neverland 2019-09-24 14:20:39 +08:00 committed by GitHub
parent 89bcab7b09
commit 26f2b77538
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -24,7 +24,13 @@ then
# publish # publish
git push origin master git push origin master
git push origin refs/tags/v$VERSION git push origin refs/tags/v$VERSION
npm publish
if [[ $VERSION =~ [beta] ]]
then
npm publish --tag beta
else
npm publish
fi
# sync dev # sync dev
git checkout dev git checkout dev