mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[build] update release.sh
This commit is contained in:
parent
b3e82098d3
commit
001ee9d4a1
@ -14,6 +14,7 @@ then
|
|||||||
npm run build:lib
|
npm run build:lib
|
||||||
if [[ `git status --porcelain` ]];
|
if [[ `git status --porcelain` ]];
|
||||||
then
|
then
|
||||||
|
git add -A
|
||||||
git commit -am "[build] $VERSION"
|
git commit -am "[build] $VERSION"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"dev": "node build/dev.js",
|
"dev": "node build/dev.js",
|
||||||
"lint": "eslint ./packages --ext .js",
|
"lint": "eslint ./packages --ext .js",
|
||||||
"release": "sh build/release.sh",
|
"release": "sh build/release.sh",
|
||||||
"build:lib": "rm -rf dist && NODE_ENV=production node build/compiler.js",
|
"build:lib": "yarn && rm -rf dist && NODE_ENV=production node build/compiler.js",
|
||||||
"build:site": "rm -rf docs/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.prd.js && gh-pages -d docs/dist",
|
"build:site": "rm -rf docs/dist && cross-env NODE_ENV=production webpack --config build/webpack.doc.prd.js && gh-pages -d docs/dist",
|
||||||
"build:changelog": "vant-doc changelog --tag v0.3.0 ./docs/dist/changelog.md"
|
"build:changelog": "vant-doc changelog --tag v0.3.0 ./docs/dist/changelog.md"
|
||||||
},
|
},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user