Add a release action to a repo
Release a repo from the board's Areas page with one key: bump the version, build, commit, tag and push.

The Areas page needs the vault. The main checkout must be on the default branch, clean and not behind origin.
Add an
[[actions]]table to the repo config,~/.config/kebbie/repos/billing.toml:[[actions]] key = "R" title = "Release" about = "bump, commit, tag, push" ask = "version" bump = ["Cargo.toml", { file = "Cargo.lock", after = 'name = "billing"' }] run = ["cargo build"] commit = "{version}" tag = "v{version}" push = trueCheck it parses:
kebbie doctorOn the board, press
3for the Areas page.Select the repo's area and press
R.Enter the version. The next patch version is prefilled.
Read the steps in the window, including the exact lines the bump changes, and press
yto run them.Press
yagain to push.
after = 'name = "{package}"' follows the package name in pyproject.toml, Cargo.toml or package.json, so a renamed package keeps its release action as it is.
Every key: [[actions]].
Hand the rest to a task
An action can start a task instead of running a script. With then, one action offers another when it is done.
[[actions]]
key = "R"
title = "Release"
ask = "version"
bump = ["Cargo.toml"]
commit = "{version}"
tag = "v{version}"
push = true
then = ["web:bump-client"]
# ~/.config/kebbie/repos/web.toml
[[actions]]
id = "bump-client"
key = "P"
title = "Bump the client"
ask = ["package", "version"]
task = "Bump {package} to {version}; commit."