diff --git a/scripts/release.js b/scripts/release.js index 5ba671d02cf0c0cd4f648e0b98aa46d144383601..af9cbdead1ef1a639a7b22ebb0e3bef200537c9a 100644 --- a/scripts/release.js +++ b/scripts/release.js @@ -8,7 +8,7 @@ const path = require('path'); // Workaround JS const isRelease = process.env.RELEASE_BUILD === 'true'; -const BRANCH = process.env.BRANCH; +const BRANCH = process.env.GIT_BRANCH; const VERSION_TAG = isRelease ? 'latest' : 'snapshot'; const VERSION_INC = 'patch'; @@ -31,10 +31,10 @@ function validateEnv() { return false; } - if (process.env.GIT_BRANCH !== BRANCH) { - console.log(`not publishing on branch ${process.env.GIT_BRANCH}`); - return false; - } + // if (process.env.GIT_BRANCH !== BRANCH) { + // console.log(`not publishing on branch ${process.env.GIT_BRANCH}`); + // return false; + // } return true; }