Skip to content

Add auto-tagging workflow for release PR merges#53

Merged
dak2 merged 1 commit intomainfrom
add-release-tag-workflow
Mar 10, 2026
Merged

Add auto-tagging workflow for release PR merges#53
dak2 merged 1 commit intomainfrom
add-release-tag-workflow

Conversation

@dak2
Copy link
Owner

@dak2 dak2 commented Mar 9, 2026

Summary

  • Add a workflow that automatically creates and pushes a vX.Y.Z tag when a release-vX.Y.Z branch is merged into main
  • This triggers the existing release.yml workflow, eliminating the manual tagging step

Flow

Merge release-vX.Y.Z into main
  → release-tag.yml: auto-create & push vX.Y.Z tag
    → release.yml: build native gems & create GitHub Release

Test plan

  • Verify that merging a branch named release-v0.1.9 automatically creates the v0.1.9 tag
  • Verify that invalid branch names (e.g., release-vinvalid) fail validation

🤖 Generated with Claude Code

Manually creating and pushing tags after merging release PRs is
error-prone and easy to forget. This workflow automates the process
by extracting the version from the branch name (release-vX.Y.Z)
and creating the corresponding tag, which then triggers the
existing release pipeline.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@dak2 dak2 force-pushed the add-release-tag-workflow branch from 3455665 to 7ce2ec0 Compare March 9, 2026 23:44
@dak2 dak2 merged commit ffcea37 into main Mar 10, 2026
2 checks passed
@dak2 dak2 deleted the add-release-tag-workflow branch March 10, 2026 10:26
@dak2 dak2 mentioned this pull request Mar 15, 2026
4 tasks
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