diff --git a/scripts/release.js b/scripts/release.js index af9cbdead1ef1a639a7b22ebb0e3bef200537c9a..d5ad745143f4a55a3cb1231887c7a05c0df467c6 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.GIT_BRANCH; +const BRANCH = process.env.BRANCH; const VERSION_TAG = isRelease ? 'latest' : 'snapshot'; const VERSION_INC = 'patch'; @@ -31,11 +31,6 @@ function validateEnv() { return false; } - // if (process.env.GIT_BRANCH !== BRANCH) { - // console.log(`not publishing on branch ${process.env.GIT_BRANCH}`); - // return false; - // } - return true; }