From ea3cc7aaef2fd302f9766ffb0d6fcaa1d014e584 Mon Sep 17 00:00:00 2001 From: Aleksey Khoroshilov Date: Tue, 9 Jul 2024 14:11:36 +0700 Subject: [PATCH] Allow default build config to be set via .env. --- build/commands/lib/config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/commands/lib/config.js b/build/commands/lib/config.js index 7d617c19f47e..b6ad84a7ad93 100644 --- a/build/commands/lib/config.js +++ b/build/commands/lib/config.js @@ -126,7 +126,7 @@ const Config = function () { this.isTeamcity = process.env.TEAMCITY_VERSION !== undefined this.isCI = process.env.BUILD_ID !== undefined || this.isTeamcity this.internalDepsUrl = 'https://vhemnu34de4lf5cj6bx2wwshyy0egdxk.lambda-url.us-west-2.on.aws' - this.defaultBuildConfig = 'Component' + this.defaultBuildConfig = getEnvConfig(['default_build_config']) || 'Component' this.buildConfig = this.defaultBuildConfig this.signTarget = 'sign_app' this.buildTargets = ['brave']