Signed AAB guardrails, injected signing args, IPA version train check, Play notes lint at build
This commit is contained in:
parent
707db2ebc6
commit
7960063e0e
12 changed files with 181 additions and 14 deletions
|
|
@ -12,7 +12,7 @@ import { createHash } from 'node:crypto';
|
|||
import type { Ctx } from '../lib/ctx';
|
||||
import { confirm, need } from '../lib/ctx';
|
||||
import { done, log, warn, printJson } from '../lib/log';
|
||||
import { aabInfo } from '../lib/gradle';
|
||||
import { aabInfo, assertAabSigned } from '../lib/gradle';
|
||||
import { playTargetSdkProblem, targetSdkFile } from '../lib/store-minimums';
|
||||
import { playClient } from './client';
|
||||
import { usedVersionCodes } from './next-version-code';
|
||||
|
|
@ -52,6 +52,7 @@ export async function run(ctx: Ctx): Promise<void> {
|
|||
if (live && !a.has('dry') && !(await confirm(ctx, `Release to PRODUCTION as "${live.status}" (public once Google approves)?`))) return;
|
||||
|
||||
if (aab) {
|
||||
assertAabSigned(aab);
|
||||
const sdkWhy = playTargetSdkProblem(aabInfo(aab).targetSdk, { where: targetSdkFile(root) });
|
||||
if (sdkWhy) throw new Error(`${aab}: not released, ${sdkWhy}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue