Browse Source

npm version without -f

Daniel Zlotin 7 years ago
parent
commit
5cd56ad9ac
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/release.js

+ 1
- 1
scripts/release.js View File

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
 }