Add release flow: justfile, git-cliff, bump-my-version #4

Merged
coding-agent-marvin8 merged 0 commits from refs/pull/4/head into main 2026-06-04 22:58:48 +00:00
coding-agent-marvin8 commented 2026-06-04 21:48:24 +00:00 (Migrated from codeberg.org)

Closes #3

Changes

  • pyproject.toml: add git-cliff~=2.13.1 to dev group; remove stale Release-Notes.md bumpversion file entry (was copied from zaojun, referenced the wrong project name)
  • cliff.toml (new): gitmoji parsers + legacy conventional prefixes for older history; trim = false preserves the blank line when prepending; :wrench: commits are skipped
  • justfile (new): just release patch|minor|major — calculates next version, prepends unreleased changelog, pauses for manual edit, commits changelog, runs bump-my-version bump, pushes branch to claude and tag to origin

Usage

just release patch    # 0.5.0 → 0.5.1
just release minor    # 0.5.0 → 0.6.0
just release major    # 0.5.0 → 1.0.0

Notes

  • Changelog commit uses :wrench: so cliff skips it in subsequent release runs
  • Tag is pushed to origin so Woodpecker CI triggers its checks.yml pipeline on the tag event
  • On the first release run, CHANGELOG.md's existing preamble header will end up below the newly prepended content — use the interactive pause to move it back to the top
Closes #3 ## Changes - **pyproject.toml**: add `git-cliff~=2.13.1` to dev group; remove stale `Release-Notes.md` bumpversion file entry (was copied from zaojun, referenced the wrong project name) - **cliff.toml** (new): gitmoji parsers + legacy conventional prefixes for older history; `trim = false` preserves the blank line when prepending; `:wrench:` commits are skipped - **justfile** (new): `just release patch|minor|major` — calculates next version, prepends unreleased changelog, pauses for manual edit, commits changelog, runs `bump-my-version bump`, pushes branch to `claude` and tag to `origin` ## Usage ``` just release patch # 0.5.0 → 0.5.1 just release minor # 0.5.0 → 0.6.0 just release major # 0.5.0 → 1.0.0 ``` ## Notes - Changelog commit uses `:wrench:` so cliff skips it in subsequent release runs - Tag is pushed to `origin` so Woodpecker CI triggers its `checks.yml` pipeline on the tag event - On the first release run, `CHANGELOG.md`'s existing preamble header will end up below the newly prepended content — use the interactive pause to move it back to the top
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
marvin8/kokopelli!4
No description provided.