浏览代码

npm version without -f

Daniel Zlotin 8 年前
父节点
当前提交
5cd56ad9ac
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      scripts/release.js

+ 1
- 1
scripts/release.js 查看文件

70
 }
70
 }
71
 
71
 
72
 function tagAndPublish(newVersion) {
72
 function tagAndPublish(newVersion) {
73
-  exec.execSync(`npm version ${newVersion} -f -m "v${newVersion} [ci skip]"`);
73
+  exec.execSync(`npm version ${newVersion} -m "v${newVersion} [ci skip]"`);
74
   exec.execSync(`npm publish --tag ${VERSION_TAG}`);
74
   exec.execSync(`npm publish --tag ${VERSION_TAG}`);
75
   exec.execSyncSilent(`git push deploy --tags || true`);
75
   exec.execSyncSilent(`git push deploy --tags || true`);
76
 }
76
 }