upload --pre-check/--evidence, shots copy translate, game-center --locale-map, play games API-disabled hint

This commit is contained in:
CRTkafa 2026-10-24 12:10:23 +08:00
parent 29a9683ab7
commit 8ffa27d4f8
24 changed files with 598 additions and 27 deletions

View file

@ -768,6 +768,15 @@ export interface ShipConfig {
/** Words `whats-new check` must not flag as internal jargon (a product or game term that collides), any case. */
allowWords?: string[];
};
/** Uploads (`apple upload`, `play upload`). */
upload?: {
/** Shell command run before any byte is sent; `{file}` is the IPA / AAB path. A nonzero exit refuses the upload
* (ship-step error code PRE_CHECK_FAILED). `--pre-check` overrides it. */
preCheck?: string;
/** Where the pre-check evidence JSON (file, sha256, size, command, exit code, stdout tail, time, storebound
* version) is written. `--evidence` overrides it. */
evidence?: string;
};
/** Native builds (`apple build`, `play build`). */
build?: {
/** Shell command run in the project root before the archive / bundle, e.g. "npm run build && npx cap sync" for a