Skip to content

docs(release): the release checklist describes how a release lands now - #775

Merged
DrunkOnJava merged 2 commits into
mainfrom
docs/release-procedure
Oct 18, 2026
Merged

DrunkOnJava merged 2 commits into
mainfrom
docs/release-procedure

Conversation

@DrunkOnJava

@DrunkOnJava DrunkOnJava commented Oct 18, 2026 •

Copy link
Copy Markdown
Owner

Summary

RELEASE.md describes how a release actually lands, and publish.yml's comments stop describing a wasm feature and a v0.1.2 tag.

Motivation

The checklist had the release committed and pushed straight to main (git push origin main --tags) and the crate published by hand (cargo publish). main takes changes only through pull requests, and since C3 (#714) the publish workflow publishes the crate by Trusted Publishing. It also listed three of the nine files that carry the version, so CITATION.cff was still at 0.1.2 (fixed in #772). Following it as written could not produce a release.

Changes

  • Versioning: every file that carries the version.
  • What's in a release: the release page's contents, the container image, and Trusted Publishing for crates.io and PyPI.
  • Checklist:
    • Step 5 adds the introduction, the Upgrading from list, one heading per group, and credit for outside contributors.
    • Step 8 opens a release pull request and refreshes the witness observations from its CI run.
    • Step 9 confirms both registries' trusted publishers. Without crates.io's, the release binaries and the container image publish while crates.io and PyPI do not.
    • Steps 10 to 12 tag the merged commit, push only the tag, and replace the release's generated notes with the CHANGELOG section.
  • Hotfix: the same tag-and-push flow, and the backport goes through a pull request.
  • Post-release: the docs' latest-release statements move once every channel is checked.
  • Release automation: matches the CI, publish and release-binaries workflows. Dependabot points to docs/maintaining.md. No dry run has published to TestPyPI yet.
  • publish.yml: two comments.

Testing

N/A: docs and comments only. Every anchor the new text links to exists. publish.yml parses, with only its comments changed.

Breaking changes

None.


Note

Low Risk
Documentation and workflow comments only; no runtime, CI behavior, or publish logic changes.

Overview
RELEASE.md is rewritten so the maintainer checklist matches how releases actually ship today: version bumps across every file that carries the version (not just three), release prep via a pull request (including witness observation updates), signed tags on the merged commit with tag-only push triggering CI publish, and no manual cargo publish.

The doc now describes GitHub release contents (CLI archives, attestations), the ghcr.io container image, Trusted Publishing for crates.io and PyPI (including the failure mode when crates.io OIDC is missing), richer CHANGELOG expectations, hotfix/backport via PR, and post-release doc version bumps. The release automation section is aligned with ci.yml, publish.yml, and release-binaries.yml, with Dependabot details deferred to docs/maintaining.md.

publish.yml comment-only updates: the header points at RELEASE.md steps 9–12 instead of an example v0.1.2 tag push, and the cargo publish note documents dhat-heap, rvt-py, and rvt-wasm instead of the old wasm / --all-features wording.

Reviewed by Cursor Bugbot for commit 7d0ba92. Configure here.

RELEASE.md had the release committed and pushed straight to main and the
crate published by hand with `cargo publish`. main takes changes only
through pull requests, and since C3 the publish workflow publishes the
crate by Trusted Publishing, so the checklist now opens a release pull
request, refreshes the witness observations from its CI run, confirms
the registries' trusted publishers, tags the merged commit and pushes
only the tag. It names every file that carries the version, notes that
the release binaries and the container image do not wait for crates.io,
and replaces the GitHub release's generated notes with the CHANGELOG
section. The automation section matches the workflows, and the
post-release docs update is a step.

publish.yml's comments no longer give a v0.1.2 tag example or say
`--all-features` would turn on a `wasm` feature, which `rvt` has not had
since C6.
@DrunkOnJava DrunkOnJava added type:docs Documentation or user guidance. type:release Release packaging, provenance, and artifact verification. labels Oct 18, 2026
@DrunkOnJava
DrunkOnJava enabled auto-merge (squash) October 18, 2026 10:35
@DrunkOnJava
DrunkOnJava merged commit 92a902a into main Oct 18, 2026
27 checks passed
@DrunkOnJava
DrunkOnJava deleted the docs/release-procedure branch October 18, 2026 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:docs Documentation or user guidance. type:release Release packaging, provenance, and artifact verification.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant