We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7da2eca commit a81a66aCopy full SHA for a81a66a
release.sh
@@ -24,21 +24,8 @@ then
24
npm publish
25
echo "Publish $VERSION successfully!"
26
27
- read -p "Upgrade GitHub Pages? (y/n)" -n 1 -r
28
- echo # (optional) move to a new line
29
- if [[ $REPLY =~ ^[Yy]$ ]]
30
- then
31
- echo "Upgrade GitHub Pages ..."
32
- # upgrade GitHub Pages
33
- git checkout gh-pages
34
- npm install vue-infinite-loading@$VERSION --save
35
- VERSION=$VERSION npm run build
36
- git add -A
37
- git commit -m "Upgrade GitHub Pages to $VERSION"
38
- git checkout master
39
- fi
40
-
41
# push
+ git push origin --tags
42
git push
43
echo "Done!"
44
fi
0 commit comments