Skip to content

fix(release): automate PR creation and merge in release.sh#140

Merged
platinummonkey merged 1 commit intomainfrom
fix/release-auto-pr
Mar 1, 2026
Merged

fix(release): automate PR creation and merge in release.sh#140
platinummonkey merged 1 commit intomainfrom
fix/release-auto-pr

Conversation

@platinummonkey
Copy link
Collaborator

Summary

Removes the manual "open a PR and press Enter" step from scripts/release.sh, replacing it with full gh-driven automation.

Changes

  • Add require gh prerequisite check (scripts/release.sh)
  • Auto-create the GitHub PR via gh pr create with a structured description (Summary, Changes, Testing)
  • Prompt y/N to confirm merge — exits cleanly with PR URL on anything other than y
  • Merge via gh pr merge --merge --delete-branch, then proceed to pull main, verify version, tag, and push

Testing

  • Reviewed script logic end-to-end; no functional change to the version bump or tagging steps

🤖 Generated with Claude Code

Replace the manual "open a PR and press Enter" step with full
gh-driven automation:

- Require `gh` CLI as a prerequisite
- Create the GitHub PR automatically with a structured description
  (Summary, Changes, Testing sections)
- Prompt y/N before merging — exits cleanly on anything other than y
- Merge via `gh pr merge --merge --delete-branch`, then proceed to
  pull main, verify version, tag, and push

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
@platinummonkey platinummonkey merged commit fe55887 into main Mar 1, 2026
6 checks passed
@platinummonkey platinummonkey deleted the fix/release-auto-pr branch March 1, 2026 00:38
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