@@ -34,6 +34,32 @@ Note: Project uses `uv` and `just` to manage project configuration and commands
3434* ` just git-leaks ` - scan staged changes for secrets with gitleaks
3535* ` uv add {package} ` - install a dependency
3636
37+ ## Releases
38+
39+ Releases are managed with [ Release Drafter] ( https://github.com/release-drafter/release-drafter ) ,
40+ which reads the ** release labels** on merged pull requests.
41+
42+ A release label is a GitHub label added to the pull request itself, from the ** Labels** section
43+ of the PR sidebar. Release Drafter only reads these labels. Commit messages and PR titles are not
44+ parsed, so prefixes like ` feat: ` or ` fix: ` have no effect. Only the labels below count as release
45+ labels; other repository labels (e.g. ` good first issue ` , ` question ` ) are ignored.
46+
47+ | Release label | Version bump | Release notes section |
48+ | ----------------------------------------------------------------- | ------------ | --------------------- |
49+ | ` breaking ` | major | Breaking Changes |
50+ | ` feature ` , ` enhancement ` | minor | Features |
51+ | ` bug ` , ` fix ` | patch | Bug Fixes |
52+ | ` chore ` , ` ci ` , ` dependencies ` , ` documentation ` , ` refactor ` | patch | Maintenance |
53+ | ` skip-changelog ` | none | Excluded |
54+
55+ * Every PR must have at least one release label, or the ` Release Drafter / require-label ` check fails. If a release
56+ has PRs with different labels, the largest bump wins
57+ * Release labels are added automatically from the PR's branch name prefix (` feat/ ` , ` fix/ ` , ` chore/ ` ,
58+ ` ci/ ` , ` docs/ ` , ` refactor/ ` ) and from the files it changes. You can add or change them by hand
59+ * Merging to ` main ` updates a draft GitHub Release with the next version and notes
60+ * To release, run the ** Release** workflow from the Actions tab. It bumps the version in
61+ ` pyproject.toml ` /` uv.lock ` , updates ` CHANGELOG.md ` , tags the release, and uploads build artifacts
62+
3763## Usage
3864
3965* Usage Notes
0 commit comments