From 24eb907a90ed8829f0aa1f4a7bbc74574b204291 Mon Sep 17 00:00:00 2001 From: huhn511 Date: Sun, 7 Jun 2026 22:21:09 +0200 Subject: [PATCH] docs: document release-please flow + conventional commits Add a Releases section to the README and a Commits & releases note to the agent file explaining the automated changelog/tag/release flow so contributors don't hand-tag or edit CHANGELOG.md. Co-Authored-By: Claude Opus 4.8 (1M context) --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index 36024cd..eb20725 100644 --- a/README.md +++ b/README.md @@ -246,3 +246,17 @@ prototype/bridge. DPoP, client-credentials) only has a mature implementation in JS. A Rust rewrite would mean reimplementing DPoP/OIDC; revisit only if a single static binary becomes a hard requirement. + +## Releases + +Versioning, `CHANGELOG.md`, and tags are automated with +[release-please](https://github.com/googleapis/release-please) — **don't tag or +edit `CHANGELOG.md` by hand.** + +1. Commit to `main` using [Conventional Commits](https://www.conventionalcommits.org): + `fix:` → patch, `feat:` → minor, `feat!:` / `BREAKING CHANGE:` → major. + `chore:` / `docs:` / `refactor:` / `test:` don't trigger a release. +2. release-please keeps an open **"chore(main): release X.Y.Z"** PR that rolls the + pending commits into `CHANGELOG.md` and bumps the version. +3. Merge that PR to release: it creates the `vX.Y.Z` tag + GitHub Release and + updates `CHANGELOG.md`. (Publishing is still manual — no publish workflow yet.)