apple listing: a version in PENDING_DEVELOPER_RELEASE refusal names apple release --manual-release --version <v>; play release dry run shows the staged rollout share

This commit is contained in:
CRTkafa 2026-10-22 21:52:37 +08:00
parent ba1b9e1fbe
commit 5d8a0f5e9a
4 changed files with 19 additions and 2 deletions

View file

@ -0,0 +1,9 @@
// A version waiting for a manual release blocks the next one: the refusal names the command that releases it.
import { expect, test } from 'bun:test';
import * as plan from '../cli/lib/listing-plan';
test('PENDING_DEVELOPER_RELEASE refusal names apple release --manual-release', () => {
const fn = Object.values(plan).find(f => typeof f === 'function' && /one version in progress/.test(String(f))) as ((...a: unknown[]) => { action: string; reason: string }) | undefined;
expect(fn).toBeDefined();
expect(String(fn)).toContain('apple release --manual-release --version');
});