build(core): fix non-canary assets bucket (#4116)

This commit is contained in:
LongYinan 2023-09-02 00:32:11 +08:00 committed by GitHub
parent 7d3b1ad2b9
commit db3a6efaf3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -10,6 +10,10 @@ const cwd = path.resolve(projectRoot, 'apps', 'core');
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
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 = () => {
switch (buildType) {
case 'canary':