fix dev cert signing for non official builds

This commit is contained in:
bridiver
2021-08-19 16:07:11 -07:00
parent 71d00e0e97
commit addf7eb5ff
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -476,7 +476,7 @@ Config.prototype.buildArgs = function () {
Config.prototype.shouldSign = function () {
if (this.skip_signing ||
this.buildConfig !== 'Release' ||
this.isComponentBuild() ||
this.targetOS === 'ios') {
return false
}
+1 -1
View File
@@ -8,7 +8,7 @@ declare_args() {
# "nightly" for nightly channel release.
# "" for stable channel release.
brave_channel = ""
is_release_channel = true
is_release_channel = false
base_sparkle_update_url = ""
enable_sparkle = is_official_build && is_mac
Binary file not shown.
Binary file not shown.
+5 -5
View File
@@ -143,6 +143,11 @@ def GetBraveSigningConfig(config_class, mac_provisioning_profile=None):
""" Not chrome branded """
return False
@property
def distributions(self):
""" Brave distribution """
return [model.Distribution(channel=brave_channel)]
config_class = ConfigNonChromeBranded
if mac_provisioning_profile is not None:
@@ -169,9 +174,4 @@ def GetBraveSigningConfig(config_class, mac_provisioning_profile=None):
""" Run spctl check """
return True
@property
def distributions(self):
""" Brave distribution """
return [model.Distribution(channel=brave_channel)]
return ProvisioningProfileCodeSignConfig