浏览代码

update RELEASE

Daniel Zlotin 7 年前
父节点
当前提交
aa0e0d10f0
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6
    6
      scripts/release.js

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

58
 }
58
 }
59
 
59
 
60
 function run() {
60
 function run() {
61
-  // if (!validateEnv()) {
62
-  //   return;
63
-  // }
64
-  // setupGit();
65
-  // createNpmRc();
61
+  if (!validateEnv()) {
62
+    return;
63
+  }
64
+  setupGit();
65
+  createNpmRc();
66
   const newVersion = calcNewVersion();
66
   const newVersion = calcNewVersion();
67
   console.log(`new version is: ${newVersion}`);
67
   console.log(`new version is: ${newVersion}`);
68
-  // tagAndPublish(newVersion);
68
+  tagAndPublish(newVersion);
69
 }
69
 }
70
 
70
 
71
 run();
71
 run();