瀏覽代碼

fix travis publish

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

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

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