Repository navigation
Set up tagpr for releases - #1
Merged
Merged
Conversation
Every push to main opens or updates a release PR that writes CHANGELOG.md; merging it tags the release (bare semver, no v prefix) and creates the GitHub Release. No version file: the README's install snippet pins a major lower bound and is not rewritten per release. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LNx2hMCmLmWozLFm8C8ezo
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds tagpr to automate releases.
.tagpr—vPrefix = false(tags stay bare semver like the existing1.0.0),releaseBranch = main,versionFile = -(version lives only in tags; the README'sfrom: "1.0.0"is a major lower bound and isn't rewritten),release = true..github/workflows/tagpr.yml— runs on push tomain; opens/updates the release PR withCHANGELOG.md, and on merge tags and creates the GitHub Release.CLAUDE.md— a short Releasing section.Bump is patch by default; label the release PR
tagpr:minor/tagpr:majorfor bigger bumps.Repo setting needed: Settings → Actions → General → enable "Allow GitHub Actions to create and approve pull requests".
Note: PRs opened with
GITHUB_TOKENdon't trigger other workflows, so CI won't run on the release PR itself (it only changesCHANGELOG.md). If that matters, swap in a PAT or GitHub App token.🤖 Generated with Claude Code
https://claude.ai/code/session_01LNx2hMCmLmWozLFm8C8ezo
Generated by Claude Code