With releases = python, devkit releases a Python package whose version is __version__ = "X.Y.Z" in
version_file, tagged vX.Y.Z, installed with mise from GitHub:
mise run patch # or minor, major: runs mise run check, bumps, commits "vX.Y.Z" and tags it
mise run release # pushes the branch and the tag at once; CI creates the GitHub release
mise run up # installs the release with mise and checks the command's --versionEach task is a line of devkit.toml running a shell script in .config/mise/tasks/devkit/, which takes
version_file, branch, package and command from devkit.toml [env].
- patch, minor, major run
devkit:bump: it refuses a dirty tree, then runsmise run check: lint and the tests, whichmise.tomldefines; devkit'stestfails until it does. Nothing is bumped or tagged when it fails. - release refuses a HEAD not tagged with the version, then runs
git push --atomic origin BRANCH vX.Y.Z: the branch and the tag land together or not at all. - up runs
mise install PACKAGE@vX.Y.Zandmise pruneof older ones, then checks that the command a shell outside the project gets saysCOMMAND X.Y.Z. A just pushed tag installs at once, no wait for GitHub's release list. - clean removes
dist,buildand__pycache__;mise run devkit:versionprints the version.
With ci = github, .github/workflows/release.yml runs on a pushed v* tag: mise run check with the tools
mise pins, then gh release create with generated notes. A tag made by hand, without patch, is checked
there: a failure leaves the tag without a release, and mise installs no version without one. A project keeps its own test matrix, as uwiki's
test.yml over Python 3.11 to 3.14.