mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-11-28 17:22:30 +03:00
build(core): fix non-canary assets bucket (#4116)
This commit is contained in:
parent
7d3b1ad2b9
commit
db3a6efaf3
@ -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':
|
||||
|
Loading…
Reference in New Issue
Block a user