소스 검색

fix travis publish

Daniel Zlotin 7 년 전
부모
커밋
d240378a83
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      scripts/release.js

+ 1
- 1
scripts/release.js 파일 보기

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() {