mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-22 14:39:16 +08:00
build: deploy site to 0.x dir
This commit is contained in:
parent
3691cc409c
commit
2d37c059d9
@ -7,4 +7,4 @@ superman-cdn /vant-weapp ./docs/dist/*.js
|
|||||||
|
|
||||||
rm -rf docs/dist/*.js
|
rm -rf docs/dist/*.js
|
||||||
|
|
||||||
gh-pages -d docs/dist --add
|
gh-pages -d docs/dist --add --dest 0.x
|
||||||
|
@ -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: "
|
||||||
@ -22,12 +19,7 @@ then
|
|||||||
npm version $VERSION --message "build: release $VERSION"
|
npm version $VERSION --message "build: release $VERSION"
|
||||||
|
|
||||||
# publish
|
# publish
|
||||||
git push origin master
|
git push origin dev
|
||||||
git push origin refs/tags/v$VERSION
|
git push origin refs/tags/v$VERSION
|
||||||
npm publish
|
npm publish
|
||||||
|
|
||||||
# sync dev
|
|
||||||
git checkout dev
|
|
||||||
git rebase master
|
|
||||||
git push origin dev
|
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user