releasecheck

command
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 12, 2026 License: Apache-2.0 Imports: 30 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command release-check is mash's release gate.

release-check <X> <version>            judge candidate X for release v<version>
release-check --assets <version> <X>   after CI drafted the release: is the tag right and are the assets ours?
release-check --consumer <checkout> <X> <version>   as the first form, plus the consumer's check run against X (maintainers only)
release-check publish [--wait <d>] <version> <X>     the whole path, resumable: gate, signed tag, draft, --assets gate, publish, verify

It verifies the candidate is on main of the release repository; CI's check runs on X succeeded; X builds, from fresh clones in different directories, to identical bytes whose `version` line is exactly "mash <version> (commit X)". With --assets it verifies the remote tag v<version> is annotated, signed by a key this machine trusts and points at X, and that the draft release carries exactly the four binaries and SHA256SUMS, each equal to our own build of X. It then signs SHA256SUMS (ssh-keygen -Y sign, namespace mash-release) after checking every line against those builds, verifies the signature against ci/release.allowed_signers at X and uploads SHA256SUMS.sig; RELEASE_SIGNING_KEY names the key (the one that signs the tag). With --consumer (maintainers only: needs a downstream consumer's checkout) it also runs that checkout's own check of mash against X, as its .mash-consumer-check manifest directs (docs/release.md): opt-in, as it can take 30+ minutes. It refuses a candidate that still has change-log fragments in changelog.d/ (other than README.md) or whose docs/decisions/INDEX.md differs from what the records at X generate (internal/adrindex), both read from git at X. It refuses to tag while an earlier vN.N.N tag has a release that is a draft or missing, unless docs/skipped-releases.txt at X records it with a reason. It reports every problem, not the first. Exit 0 passed, 3 refused, 4 the gate could not decide, 2 usage.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL