Allow passing checkout key

This commit is contained in:
Ali
2022-08-11 01:24:03 +04:00
parent 48158082e7
commit a750799237
2 changed files with 33 additions and 7 deletions

View File

@@ -396,8 +396,11 @@ def resolve_codesigning(arguments, base_path, build_configuration, provisioning_
print('--gitCodesigningType is required if --gitCodesigningRepository is set')
sys.exit(1)
private_key = os.getenv('TELEGRAM_CODESIGNING_PRIVATE_KEY')
profile_source = GitCodesigningSource(
repo_url=arguments.gitCodesigningRepository,
private_key=private_key,
team_id=build_configuration.team_id,
bundle_id=build_configuration.bundle_id,
codesigning_type=arguments.gitCodesigningType,