mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
build(core): fix non-canary assets bucket (#4116)
This commit is contained in:
@@ -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