build(core): fix non-canary assets bucket (#4116)
This commit is contained in:
1 parent
7d3b1ad2b9
commit
db3a6efaf3
1 file changed
+4
@@ -10,6 +10,10 @@ const cwd = path.resolve(projectRoot, 'apps', 'core');
|
|||||||
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
||||||
const buildType = process.env.BUILD_TYPE_OVERRIDE || process.env.BUILD_TYPE;
|
const buildType = process.env.BUILD_TYPE_OVERRIDE || process.env.BUILD_TYPE;
|
||||||
|
|
||||||
|
if (process.env.BUILD_TYPE_OVERRIDE) {
|
||||||
|
process.env.BUILD_TYPE = process.env.BUILD_TYPE_OVERRIDE;
|
||||||
|
}
|
||||||
|
|
||||||
const getChannel = () => {
|
const getChannel = () => {
|
||||||
switch (buildType) {
|
switch (buildType) {
|
||||||
case 'canary':
|
case 'canary':
|
||||||
|
|||||||
Reference in new issue
Block a user