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 b5e4d88 commit 5ca4b15Copy full SHA for 5ca4b15
package.json
@@ -16,6 +16,7 @@
16
"demo:build": "rm -rf ./example/dist && cross-env NODE_ENV=production webpack --config ./build/webpack.example.prod.conf.js",
17
"demo:prepublish": "rm -rf ./gh-pages && cross-env NODE_ENV=prepublish webpack --config ./build/webpack.example.prod.conf.js",
18
"deploy": "bash ./build/gh-pages.sh",
19
+ "release": "bash ./release.sh",
20
"test": "echo 'comming soon...'"
21
},
22
"repository": {
release.sh
@@ -1,6 +1,3 @@
1
-git checkout master
2
-git merge dev
3
-
4
#!/usr/bin/env sh
5
#如果指令传回值不等于0,则立即退出shell。
6
set -e
@@ -26,4 +23,7 @@ then
26
23
git push origin refs/tags/v$VERSION
27
24
git push
28
25
npm publish
+
+ #deploy
+ bash ./build/gh-pages.sh
29
fi
0 commit comments