Sfoglia il codice sorgente

fix travis publish

Daniel Zlotin 7 anni fa
parent
commit
d240378a83
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      scripts/release.js

+ 1
- 1
scripts/release.js Vedi File

60
 function tagAndPublish(newVersion) {
60
 function tagAndPublish(newVersion) {
61
   console.log(`new version is: ${newVersion}`);
61
   console.log(`new version is: ${newVersion}`);
62
   execSync(`npm version ${newVersion} -m "v${newVersion} [ci skip]"`);
62
   execSync(`npm version ${newVersion} -m "v${newVersion} [ci skip]"`);
63
-  execSync(`git push deploy --tags --verbose`);
64
   execSync(`npm publish --tag latest`);
63
   execSync(`npm publish --tag latest`);
64
+  execSyncSilently(`git push deploy --tags`);
65
 }
65
 }
66
 
66
 
67
 function run() {
67
 function run() {