mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[build] update release.sh to support publish beta package
This commit is contained in:
parent
ec6820cf31
commit
701600966b
@ -19,5 +19,10 @@ then
|
|||||||
git push origin 1.x
|
git push origin 1.x
|
||||||
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
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user