mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
update release.sh
This commit is contained in:
parent
02dc3e392c
commit
a857574908
@ -1,6 +1,3 @@
|
|||||||
git checkout master
|
|
||||||
git merge dev
|
|
||||||
|
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
set -e
|
set -e
|
||||||
echo "Enter release version: "
|
echo "Enter release version: "
|
||||||
@ -19,11 +16,8 @@ then
|
|||||||
git commit -am "[release] $VERSION"
|
git commit -am "[release] $VERSION"
|
||||||
|
|
||||||
# publish
|
# publish
|
||||||
git push origin master
|
git push origin 1.x
|
||||||
git push origin refs/tags/v$VERSION
|
git push origin refs/tags/v$VERSION
|
||||||
git checkout dev
|
|
||||||
git rebase master
|
|
||||||
git push origin dev
|
|
||||||
|
|
||||||
npm publish
|
npm publish
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user