Commit 57d3cc03 authored by yogevbd's avatar yogevbd

Fix release build

parent 74cbb106
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment