瀏覽代碼

Use BRANCH jenkins variable in release script

yogevbd 5 年之前
父節點
當前提交
0a8bbd4e7e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      scripts/release.js

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

@@ -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