mirror of
https://github.com/Hopiu/vue-material.git
synced 2026-05-17 19:51:06 +00:00
fix release script
This commit is contained in:
parent
0eb41c7cd3
commit
8826604c75
1 changed files with 3 additions and 3 deletions
|
|
@ -43,10 +43,10 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
|
|||
# commit
|
||||
git add -A
|
||||
git commit -m "[build] $VERSION"
|
||||
#### npm version $VERSION --message "[release] $VERSION"
|
||||
npm version $VERSION --message "[release] $VERSION"
|
||||
|
||||
# publish
|
||||
#### git push origin refs/tags/v$VERSION
|
||||
git push origin refs/tags/v$VERSION
|
||||
git push
|
||||
|
||||
# deploy
|
||||
|
|
@ -57,5 +57,5 @@ if [[ $REPLY =~ ^[Yy]$ ]]; then
|
|||
git remote add site https://github.com/vuematerial/vuematerial.github.io.git
|
||||
git push site `git subtree split --prefix dist/docs master`:master --force --progress
|
||||
|
||||
#### npm publish
|
||||
npm publish
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in a new issue