Ver código fonte

npm version without -f

Daniel Zlotin 8 anos atrás
pai
commit
5cd56ad9ac
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1
    1
      scripts/release.js

+ 1
- 1
scripts/release.js Ver arquivo

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
 }