ci: add Release Please for automated versioning and releases#8
Merged
Conversation
Conventional commits (fix:/feat:/feat!:) now drive semver bumps automatically. On every push to main, Release Please opens or updates a release PR with the computed version and changelog. Merging that PR creates the git tag and GitHub release, which triggers the existing publish.yml pipeline to push to PyPI. Uses simple release type (tag-only) since hatch-vcs derives the version from the git tag — no version files to keep in sync. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
fix:→ patch,feat:→ minor,feat!:→ major) to compute the next semverpublish.yml→ PyPI pipelinesimplerelease type (tag-only) since hatch-vcs derives the version from the git tagFiles added
.github/workflows/release-please.yml— the workflowrelease-please-config.json— release type and pre-1.0 bump rules.release-please-manifest.json— current version baseline (0.3.1)Test plan
fix:orfeat:merge, confirm the release PR updates with correct version and changelog🤖 Generated with Claude Code