chore: update static file
This commit is contained in:
@@ -14,8 +14,8 @@ shell.exec ('npm run changelog');
|
||||
shell.exec ('git add .');
|
||||
shell.exec ('git commit -a -m "chore: update static file"');
|
||||
|
||||
console.log ('exec: git pull origin master');
|
||||
shell.exec ('git pull origin master');
|
||||
console.log ('exec: git pull origin main');
|
||||
shell.exec ('git pull origin main');
|
||||
let a = shell.exec (`git tag |grep ${version} |wc -l`);
|
||||
if (a && parseInt (a) > 0) {
|
||||
shell.exec ('git tag -d ' + version);
|
||||
@@ -26,5 +26,5 @@ shell.exec ('git push origin ' + version);
|
||||
|
||||
console.log('git push success', version)
|
||||
|
||||
console.log('正在执行npm发布')
|
||||
shell.exec('npm publish')
|
||||
// console.log('正在执行npm发布')
|
||||
// shell.exec('npm publish')
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yapi-vendor",
|
||||
"version": "1.11.0",
|
||||
"version": "1.12.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yapi-vendor",
|
||||
"version": "1.11.0",
|
||||
"version": "1.12.0",
|
||||
"description": "YAPI",
|
||||
"main": "server/app.js",
|
||||
"scripts": {
|
||||
@@ -12,7 +12,7 @@
|
||||
"start": " node server/app.js",
|
||||
"test": "ava",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s",
|
||||
"build-client": "NODE_ENV=production ykit pack -m",
|
||||
"build-client": "set NODE_ENV=production ykit pack -m",
|
||||
"npm-publish": "node ./npm-publish.js",
|
||||
"docs": "ydoc build"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user