mirror of
https://gitee.com/vuejs/vue.git
synced 2024-12-02 12:07:39 +08:00
allow release script to specify publish tag
This commit is contained in:
parent
680494690f
commit
2055b0dcdf
@ -45,5 +45,9 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
|
||||
# publish
|
||||
git push origin refs/tags/v$VERSION
|
||||
git push
|
||||
npm publish
|
||||
if [[ -z $RELEASE_TAG ]]; then
|
||||
npm publish --tag $RELEASE_TAG
|
||||
else
|
||||
npm publish
|
||||
fi
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user