Skip to content

Release

Luis edited this page Dec 5, 2026 · 1 revision

Release

Maintainers only. The exact steps are in CONTRIBUTING.md → Releasing; if they disagree, CONTRIBUTING.md wins.

How a release runs

  1. The maintainer pushes a signed v* tag on main; the release workflow checks its ancestry and the bench gate.
  2. Each job in the release environment waits for the maintainer's approval (admins cannot bypass it): package-token, then release, then package-repos.
  3. package-token mints a one-hour installation token of the maintainer's GitHub App and the preflight checks it: only an installation token (ghs_) with Contents and Pull requests write passes. A missing App ID or key fails the run before anything is built.
  4. release builds, signs and attests, verifies the draft, then publishes it. package-verify re-verifies checksums.txt on a runner without secrets.
  5. package-repos mints its own App token and opens the package pull request (branch packages/creep-<tag>, the cask and the Scoop manifest). Since #453 the App signs it off (Signed-off-by its bot account) and adds the security-sensitive label. The maintainer merges it once package-check and the other checks pass.

No long-lived token remains (ADR 0040, #429 amendment).

App key setup and rotation

  • The App ID is the release environment variable PACKAGE_APP_ID; its private key is the release environment secret PACKAGE_APP_PRIVATE_KEY. The App is installed on Ludocius/creep only, with Contents and Pull requests read and write.
  • Rotate on any suspicion: generate a new private key in the App settings, replace the secret, then delete the old key. Exact commands: CONTRIBUTING.md → Releasing, step 3.
  • To check a hand-minted installation token, run make package-token (paste it at the prompt; never as an argument).

Clone this wiki locally