release-kit 0.2.7

A canonical release workflow: a technology-agnostic method, per-technology bindings, and the rk CLI that lands and serves them.
Documentation
#!/usr/bin/env sh
# Have the forge delete a branch when its merge lands, so keeping the trunk
# the sole long-lived branch costs no one a habit; the method's setup
# chapter owns the reasoning. The setting is project-wide, so it holds
# whichever merge verb the operator uses, and it never touches a branch
# whose merge has not landed.
set -eu
: "${RK_REPO:?rk sets this; run this script through rk setup}"

project="$(printf '%s' "$RK_REPO" | sed 's|/|%2F|g')"

# The forge CLI may pretty-print JSON; stripping whitespace makes every
# pattern below hold for the compact and the pretty form alike, and no
# value a pattern touches can carry whitespace of its own.
compact() { tr -d ' \t\r\n'; }

glab api -X PUT "projects/$project" -f remove_source_branch_after_merge=true >/dev/null
echo 'check: prints "remove_source_branch_after_merge":true'
glab api "projects/$project" | compact | grep -o '"remove_source_branch_after_merge":[a-z]*'