Add release flow: justfile, git-cliff, bump-my-version #3
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Kokopelli has no automated release process. Cutting a release requires manually editing CHANGELOG.md, running bump-my-version, tagging, and pushing — with no tooling to ensure steps are done in the right order.
Add a single
just release patch|minor|majorcommand that orchestrates the full flow: calculates the next version, generates the unreleased changelog via git-cliff, pauses for manual review, commits the changelog, bumps the version (auto-commit + tag), and pushes branch and tag to the correct remotes.Findings
bump-my-versionis already configured inpyproject.tomlbut there is a stale[[tool.bumpversion.files]]entry referencingRelease-Notes.mdwith a search pattern that sayszaojun— clearly copied from the zaojun project and never cleaned up. That gets removed here.git-cliffis not yet in dev dependencies. Addinggit-cliff~=2.13.1.justfileorcliff.tomlexist yet..woodpecker/checks.yml) already runs ontagevents — no pipeline changes needed.Plan
Files changed:
pyproject.toml— addgit-cliff~=2.13.1to dev group; remove stale Release-Notes bumpversion entrycliff.toml(new) — gitmoji + legacy conventional parsers;:wrench:skipped;trim = falsefor correct prepend spacingjustfile(new) —just release patch|minor|majorrecipe: calculates next version → prepends changelog → interactive pause → commits changelog → bump-my-version bump → push branch toclaude+ tag tooriginKey decisions:
:wrench:prefix so cliff skips it in subsequent release runs (no noise)clauderemote (agent SSH alias); tag push →origin(Woodpecker watches this)Branch:
feat/issue-3-add-release-flow