mirror of
https://github.com/zhigang1992/react-native-notifications.git
synced 2026-06-10 15:58:51 +08:00
Fix release build
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user