Skip to content

ci: Cut releases from git tags#14

Draft
kw-datamasque wants to merge 11 commits into
mainfrom
ci/use-release-please
Draft

ci: Cut releases from git tags#14
kw-datamasque wants to merge 11 commits into
mainfrom
ci/use-release-please

Conversation

@kw-datamasque

@kw-datamasque kw-datamasque commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

What this does

Cut a release by tagging. The version is derived from the Git tag, GitHub
generates the notes from the merged pull requests, and CI publishes to PyPI.
No version field to bump, no CHANGELOG.md, nothing committed to main.

Supersedes the original release-please proposal, which assumed every commit on
main is Conventional (external contributors are not) and added a release-PR
and manifest for what is a single-wheel project.

Changes

  • Version derived from the tag (hatch-vcs); pyproject.toml no longer pins one.
  • make release-{patch,minor,major} (scripts/release.sh): bumps from the latest
    tag and creates the release via gh. Tag-only, so the main ruleset allows it.
  • release.yml rejects malformed or out-of-order tags before publishing.
  • .github/release.yml filters Dependabot from the auto-generated notes.
  • Removed CHANGELOG.md, scripts/bump_version.py, and the old push-to-main
    release targets.
  • CONTRIBUTING "Releasing" rewritten for the tag flow.

Releasing, after this lands

make release-patch (or -minor / -major), or gh release create vX.Y.Z --generate-notes. Reuses the existing PyPI trusted publisher; no settings change.

TestPyPI path verified end to end (1.4.1.dev9 uploaded via the publisher).
Draft for review; no real release cut.

@kw-datamasque kw-datamasque force-pushed the ci/use-release-please branch from cb4f92f to 1e36794 Compare June 22, 2026 02:38
@kw-datamasque kw-datamasque changed the title ci: adopt release-please for automated releases ci: Release from git tags with auto-generated notes Jun 22, 2026
@kw-datamasque kw-datamasque changed the title ci: Release from git tags with auto-generated notes ci: Cut releases from git tags Jun 23, 2026
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