ship step: apple build plan keeps its version and build in --json; test fixtures pass the scrub (documentation IPs, neutral home paths, 10-char key ids)

This commit is contained in:
CRTkafa 2026-10-23 13:55:44 +08:00
parent 6abc1f65dd
commit 960e084bea
3 changed files with 11 additions and 11 deletions

View file

@ -141,7 +141,7 @@ export function fieldsFromDetail(key: string, d: unknown): Fields {
const dry = x.dry === true || x.dryRun === true;
switch (key) {
case 'play build': return { version: str(x.versionName), build: str(x.versionCode), state: x.aab ? 'built' : 'planned', ...(x.aab ? { artifact: String(x.aab) } : {}) };
case 'apple build': return { version: x.ipa ? str(x.version) : null, build: x.ipa ? str(x.build) : null, state: x.ipa ? 'built' : 'planned', ...(x.ipa ? { artifact: String(x.ipa) } : {}) };
case 'apple build': return { version: str(x.version), build: str(x.build), state: x.ipa ? 'built' : 'planned', ...(x.ipa ? { artifact: String(x.ipa) } : {}) };
case 'play upload': return { version: str(x.versionName), build: str(x.versionCode), track: str(x.track), state: x.uploaded ? str(x.status) : 'planned' };
case 'play release': {
const tracks = Array.isArray(x.tracks) ? x.tracks as { track: string; status: string }[] : [];