build: show export-compliance state in asc-builds output

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Darin KelkhoffandClaude Opus 4.8 committed 2026-06-12 12:18:55 -05:00
1 parent 82e12674b4
commit 4edb7f3bd7
1 file changed
+3
+3
View File
@@ -57,7 +57,10 @@ try:
if asv:
a = inc.get((asv["type"], asv["id"]), {}).get("attributes", {})
att = f"attached to {a.get('versionString')} [{a.get('appStoreState')}]"
enc = at.get('usesNonExemptEncryption')
comp = {None: "NOT ANSWERED", True: "uses non-exempt encryption", False: "exempt (answered)"}.get(enc, enc)
print(f" build {at.get('version')} train {train} state={at.get('processingState')} ({att})")
print(f" export compliance: {comp}")
print("\n=== App Store versions ===")
v = get(f"https://api.appstoreconnect.apple.com/v1/apps/{app_id}/appStoreVersions?limit=10")