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
|
|
@ -16,6 +16,7 @@ import { trackingIssue } from './lib/privacy-manifest';
|
|||
import { type AsoFinding, auditAso } from './lib/aso';
|
||||
import { draftLocales } from './lib/aso-intel';
|
||||
import { appleName, playCodes } from './lib/config';
|
||||
import { fieldsMentions } from './lib/cross-store';
|
||||
import { appBuildFile, pickGradle, versionSourceIssues, versionSourceMessage } from './lib/gradle';
|
||||
import { playConsoleReminders } from './lib/console-plan';
|
||||
import { APPLE_IAP_LIMITS, appleNameIssues, len, parseAppStoreListing, parsePlayListing } from './lib/copy';
|
||||
|
|
@ -84,6 +85,10 @@ export async function run(ctx: Ctx): Promise<void> {
|
|||
const def = copy.find(x => x.lang === (config.play!.defaultLanguage ?? 'en-US'));
|
||||
const same = copy.filter(x => def && x !== def && x.whatsNew && x.whatsNew === def.whatsNew && x.lang.slice(0, 2) !== def.lang.slice(0, 2));
|
||||
if (same.length) note(`what's new of ${same.map(x => x.lang).join(', ')} is the same text as ${def!.lang}: translate it`);
|
||||
// release notes naming iOS / the App Store are refused at release time (pitfall 77): say so now (a notes block the
|
||||
// file scan did not reach, e.g. one outside a fenced block, still counts)
|
||||
const seen = new Set(listingFileMentions(ctx.loaded, { apple: false, play: true }).filter(h => h.field === 'whatsNew').map(h => h.locale));
|
||||
for (const c of copy) if (c.whatsNew && !seen.has(c.lang)) for (const h of fieldsMentions('play', c.lang, { whatsNew: c.whatsNew }, config.listing?.allowPlatformMentions)) problems.push(`Google Play release notes: ${hitLine(h)}`);
|
||||
return `${copy.length} languages`;
|
||||
});
|
||||
if (config.apple) tryDo('appstore listing', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue