Browse Source

fix releases

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

+ 6
- 6
scripts/release.js View File

@@ -9,11 +9,11 @@ const VERSION_TAG = 'alpha';
9 9
 const VERSION_INC = 'patch';
10 10
 
11 11
 function run() {
12
-  // if (!validateEnv()) {
13
-  //   return;
14
-  // }
15
-  // setupGit();
16
-  // createNpmRc();
12
+  if (!validateEnv()) {
13
+    return;
14
+  }
15
+  setupGit();
16
+  createNpmRc();
17 17
   versionTagAndPublish();
18 18
 }
19 19
 
@@ -70,7 +70,7 @@ function findCurrentPublishedVersion() {
70 70
 function tryPublishAndTag(version) {
71 71
   let theCandidate = version;
72 72
   let retry = 0;
73
-  while (retry < 5) { //eslint-disable-line
73
+  while (retry < 5) {
74 74
     try {
75 75
       tagAndPublish(theCandidate);
76 76
       console.log(`Released ${theCandidate}`);