Browse Source

Use BRANCH jenkins variable in release script

yogevbd 5 years ago
parent
commit
0a8bbd4e7e
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      scripts/release.js

+ 1
- 1
scripts/release.js View File

@@ -8,7 +8,7 @@ const path = require('path');
8 8
 // Workaround JS
9 9
 const isRelease = process.env.RELEASE_BUILD === 'true';
10 10
 
11
-const BRANCH = process.env.GIT_BRANCH;
11
+const BRANCH = process.env.BRANCH;
12 12
 const VERSION_TAG = isRelease ? 'latest' : 'snapshot';
13 13
 const VERSION_INC = 'patch';
14 14