Browse Source

Change CI var env to JENKINS_CI

Shalom Yerushalmy 6 years ago
parent
commit
522e53ef28
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/release.js

+ 1
- 1
scripts/release.js View File

@@ -15,7 +15,7 @@ function execSyncSilently(cmd) {
15 15
 }
16 16
 
17 17
 function validateEnv() {
18
-  if (!process.env.CI) {
18
+  if (!process.env.JENKINS_CI) {
19 19
     throw new Error(`releasing is only available from CI`);
20 20
   }
21 21