From 57d3cc034144d30a8d7b60d62f76a5172eecabcd Mon Sep 17 00:00:00 2001 From: yogevbd Date: Sun, 15 Sep 2019 16:41:05 +0300 Subject: [PATCH] Fix release build --- scripts/release.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/scripts/release.js b/scripts/release.js index af9cbde..d5ad745 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; } -- 2.26.2