apple.macos listing / review notes per platform + iOS-only claim warnings; apple upload of a .pkg: bounded pkgutil, macOS processing wait, heartbeats; release 409 pattern
This commit is contained in:
parent
53d57544bf
commit
1e47c2ee60
18 changed files with 417 additions and 63 deletions
|
|
@ -2,7 +2,7 @@
|
|||
// report. Reads store/appstore.md and store/listing.md (or the config's listing paths).
|
||||
import { existsSync, readFileSync } from 'node:fs';
|
||||
import { relative } from 'node:path';
|
||||
import type { Loaded } from './config';
|
||||
import { listingPathFor, type Loaded } from './config';
|
||||
import { fileMentions, type PlatformHit } from './cross-store';
|
||||
|
||||
export function listingFileMentions(loaded: Pick<Loaded, 'config' | 'resolve' | 'root'>, stores: { apple: boolean; play: boolean } = { apple: true, play: true }): PlatformHit[] {
|
||||
|
|
@ -11,6 +11,7 @@ export function listingFileMentions(loaded: Pick<Loaded, 'config' | 'resolve' |
|
|||
const out: PlatformHit[] = [];
|
||||
const files: ['apple' | 'play', string | null][] = [
|
||||
['apple', stores.apple && config.apple ? resolve(config.apple.listing ?? 'store/appstore.md') : null],
|
||||
['apple', stores.apple && config.apple?.macos?.listing ? resolve(listingPathFor(config, 'macos')) : null],
|
||||
['play', stores.play && config.play ? resolve(config.play.listing ?? 'store/listing.md') : null],
|
||||
];
|
||||
for (const [store, f] of files) if (f && existsSync(f)) out.push(...fileMentions(store, relative(root, f) || f, readFileSync(f, 'utf8'), allow));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue