支持 App Store 送检任务按需排除 IPA 符号文件
This commit is contained in:
@@ -24,6 +24,8 @@ def _artifact_stem(config: dict) -> str:
|
||||
return f"{config.get('APPID', 'app')}_{version}"
|
||||
branch = re.sub(r"[^A-Za-z0-9._-]+", "_", config.get("SOURCE_BRANCH", "main")).strip("._-")
|
||||
build_type = "appstore" if config.get("BUILD_TYPE") == "App_Store" else "adhoc"
|
||||
if build_type == "appstore" and config.get("EXCLUDE_SYMBOLS"):
|
||||
build_type += "_nosymbols"
|
||||
return f"{config.get('APPID', 'app')}_{version}_{branch or 'main'}_{build_type}"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user