瀏覽代碼

npm version without -f

Daniel Zlotin 7 年之前
父節點
當前提交
5cd56ad9ac
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      scripts/release.js

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

@@ -70,7 +70,7 @@ email=\${NPM_EMAIL}
70 70
 }
71 71
 
72 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 74
   exec.execSync(`npm publish --tag ${VERSION_TAG}`);
75 75
   exec.execSyncSilent(`git push deploy --tags || true`);
76 76
 }