Skip to content

Commit aa12aa6

Browse files
committed
Add files via upload
1 parent bb9380f commit aa12aa6

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

deploy.sh

+16
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,21 @@ git_push() {
8080
done
8181
}
8282

83+
#============================================================
84+
# npm publish
85+
#============================================================
86+
npm_publish() {
87+
while true; do
88+
printf "\n"
89+
read -p "${BOLD}npm publish? (Y/n)${RESET}" yn
90+
case ${yn} in
91+
[Yy]* ) npm publish; break;;
92+
[Nn]* ) return 0;;
93+
* ) echo "Please answer yes or no.";;
94+
esac
95+
done
96+
}
97+
8398
#============================================================
8499
# main
85100
#============================================================
@@ -88,6 +103,7 @@ main() {
88103
npm_run_build
89104
git_commit
90105
git_push
106+
npm_publish
91107
}
92108

93109
main

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-scroll-progress",
33
"description": "Simple Vue.js plugin for page scroll progress bar",
4-
"version": "1.0.1",
4+
"version": "1.0.2",
55
"author": "spemer <[email protected]>",
66
"license": "MIT",
77
"private": false,

0 commit comments

Comments
 (0)