Skip to content

Fix draft release lookup after creation - #19

Merged
j0sh merged 1 commit into
mainfrom
ja-codex/fix-release-publish
Oct 27, 2026
Merged

j0sh merged 1 commit into
mainfrom
ja-codex/fix-release-publish

Conversation

@j0sh

@j0sh j0sh commented Oct 27, 2026

Copy link
Copy Markdown
Collaborator

Release publication can stop immediately after creating a draft because the next releases-list response can still omit it. The refactor in #17 added this second lookup; run 40460796147 left v1.0.6 as an empty draft before the release ID check exited silently.

Capture the draft directly from the release creation API response, including its ID, and report a clear error if the ID is missing. Preserve generated notes, tag verification, draft recovery, and published-asset checks.

Validation: the release control suite passes. A regression test keeps the releases list stale after creation; the original script fails that test and the fixed script passes. Bash syntax and git diff --check also pass.

@j0sh
j0sh merged commit dfcf033 into main Oct 27, 2026
9 checks passed
@j0sh
j0sh deleted the ja-codex/fix-release-publish branch October 27, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant