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:
parent
ba1b9e1fbe
commit
5d8a0f5e9a
4 changed files with 19 additions and 2 deletions
9
tests/listing-plan-busy.test.ts
Normal file
9
tests/listing-plan-busy.test.ts
Normal 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');
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue