File tree 2 files changed +17
-1
lines changed
2 files changed +17
-1
lines changed Original file line number Diff line number Diff line change @@ -80,6 +80,21 @@ git_push() {
80
80
done
81
81
}
82
82
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
+
83
98
# ============================================================
84
99
# main
85
100
# ============================================================
@@ -88,6 +103,7 @@ main() {
88
103
npm_run_build
89
104
git_commit
90
105
git_push
106
+ npm_publish
91
107
}
92
108
93
109
main
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vue-scroll-progress" ,
3
3
"description" : " Simple Vue.js plugin for page scroll progress bar" ,
4
- "version" : " 1.0.1 " ,
4
+ "version" : " 1.0.2 " ,
5
5
"author" :
" spemer <[email protected] >" ,
6
6
"license" : " MIT" ,
7
7
"private" : false ,
You can’t perform that action at this time.
0 commit comments