chore: update static file

This commit is contained in:
2024-03-02 01:56:13 +08:00
parent 92a3130392
commit 3a091f4875
3 changed files with 7 additions and 7 deletions

View File

@@ -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
View File

@@ -1,6 +1,6 @@
{
"name": "yapi-vendor",
"version": "1.11.0",
"version": "1.12.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@@ -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"
},