From 5ae40448314171bdab36174293df612937749c56 Mon Sep 17 00:00:00 2001 From: "Anthony Turcios (anthoturc)" Date: Fri, 6 Nov 2026 15:29:54 -0500 Subject: [PATCH] chore: add release.md Signed-off-by: Anthony Turcios (anthoturc) --- RELEASE.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 RELEASE.md diff --git a/RELEASE.md b/RELEASE.md new file mode 100644 index 0000000..f723193 --- /dev/null +++ b/RELEASE.md @@ -0,0 +1,24 @@ +# Releasing the kubert crates + +A release is a version bump, a `/v` git tag, and a GitHub +release. Releases are not published to crates.io. + +1. Set `version` in `/Cargo.toml`, refresh the lockfile with + `cargo metadata --format-version=1 > /dev/null`, and commit both changes in a + pull request titled `build: /v`. A breaking change bumps the + minor version; other changes bump the patch version. + +2. Merge the pull request, then tag the merge commit and push the tag: + + ```bash + git tag kubert/v0.27.0 + git push origin kubert/v0.27.0 + ``` + + Use each crate's own tag prefix, for example + `kubert-prometheus-process/v0.2.4`. + +3. Check that the crate's release workflow succeeds and that a GitHub release + named ` v` appears. If the tag does not match the version in + `Cargo.toml`, the workflow fails before creating the release; delete the tag + locally and on the remote, fix the version, and re-tag.