Create and merge the release PR from vx.x.x to main, then verify release notes.
Create the release PR from vx.x.x to main, merge it, and verify that the GitHub Release is generated correctly.
git branch --show-currentcat VERSIONgit branch --list 'v*.*.*' | head -5gh release list --limit 3 2>/dev/null || echo "(none)"User input: $ARGUMENTS
Expected: version number like 0.0.9, or nothing to auto-detect from VERSION file.
VERSION filev<RELEASE_VERSION> exists on remote (git fetch origin v<RELEASE_VERSION>)[<RELEASE_VERSION>] section (i.e., /release-prep has been run)/release-prep should be run first and stopCreate a PR from v<RELEASE_VERSION> to main:
gh pr create --base main --head "v<RELEASE_VERSION>" --title "Release v<RELEASE_VERSION>" --body "<body>"
The body should include the CHANGELOG.md section for this version (extracted between the version header and the next version header or end of relevant content).
gh pr merge <PR_NUMBER> --mergeAfter merging, check if the GitHub Release was auto-created:
gh release view "v<RELEASE_VERSION>" 2>/dev/null
.github/workflows/release.yml)Report to the user: