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')