mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-05-26 00:55:16 -07:00
ci(prerelease): use committed release-notes, drop CI claude regen
CI runners don't have Claude Code installed, so the regen step in the prerelease workflow died on 'claude CLI not found'. Mirror the stable release model: generate prerelease-notes.md locally (claude -p), commit it, and have CI just verify and reference the committed file.
This commit is contained in:
@@ -27,9 +27,10 @@ test('package scripts expose prerelease notes generation separately from stable
|
||||
);
|
||||
});
|
||||
|
||||
test('prerelease workflow generates prerelease notes from pending fragments', () => {
|
||||
assert.match(prereleaseWorkflow, /bun run changelog:prerelease-notes --version/);
|
||||
assert.doesNotMatch(prereleaseWorkflow, /bun run changelog:build --version/);
|
||||
test('prerelease workflow uses committed prerelease notes and never calls claude in CI', () => {
|
||||
assert.match(prereleaseWorkflow, /--notes-file release\/prerelease-notes\.md/);
|
||||
assert.doesNotMatch(prereleaseWorkflow, /run: bun run changelog:prerelease-notes/);
|
||||
assert.doesNotMatch(prereleaseWorkflow, /run: bun run changelog:build/);
|
||||
});
|
||||
|
||||
test('prerelease workflow includes the environment suite in the gate sequence', () => {
|
||||
|
||||
Reference in New Issue
Block a user