Skip to content

Commit a81a66a

Browse files
committed
Modify release script
1 parent 7da2eca commit a81a66a

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

release.sh

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -24,21 +24,8 @@ then
2424
npm publish
2525
echo "Publish $VERSION successfully!"
2626

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-
4127
# push
28+
git push origin --tags
4229
git push
4330
echo "Done!"
4431
fi

0 commit comments

Comments
 (0)