Skip to content

Create GitHub releases automatically on tag push - #8

Merged
igray merged 1 commit into
mainfrom
ci-release-workflow
Aug 1, 2026
Merged

Create GitHub releases automatically on tag push#8
igray merged 1 commit into
mainfrom
ci-release-workflow

Conversation

@igray

@igray igray commented Aug 1, 2026

Copy link
Copy Markdown
Owner

The v0.4.0 tag was pushed, but the Releases page still showed 0.3.1 as latest — a git tag isn't a GitHub Release, and nothing was creating the Release object.

This adds .github/workflows/release.yml, which fires on any v* tag push and creates the matching release with auto-generated notes.

  • Uses the built-in github.token with contents: write, so there's no secret to configure.
  • Titles the release without the v prefix (v0.4.00.4.0) to match existing releases.
  • Gem publishing is deliberately left out — rake release already handles build, tag, and gem push, and duplicating it here would conflict.

Notes come from GitHub's generate-notes API, which lists merged PR titles since the previous release. If release-prep PRs become noise in that list, a .github/release.yml with label-based exclusions can filter them without touching this workflow.

The 0.4.0 release itself was created manually, since its tag predates this workflow.

🤖 Generated with Claude Code

Pushing a v* tag now creates the matching GitHub release with
auto-generated notes. Gem publishing stays with `rake release`.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@igray
igray merged commit 99c6369 into main Aug 1, 2026
2 checks passed
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