Release maintenance
Add a Pi-Bolt release
Section titled “Add a Pi-Bolt release”From the repository root:
-
Update the runtime data, specifying the intended release:
Terminal window nix run .#update-runtime -- 1.4.0Without a version the updater selects the newest stable release. It verifies the signature on
SHA256SUMSagainstkeys/release.pub, readsRUNTIME_STAMP, writesnix/runtime-data.nix, and compares evaluated versions, hashes and stamps for both platforms. It builds no runtime; repeating a recorded release changes nothing. -
Change the
pi-boltinput tag inflake.nix, then runnix flake lock. -
Run the repository checks, build the intended packages and inspect
--version/doctor.
The runtime and release tag are separate pins. While they disagree, evaluation reports the runtime is <v>, the release is <v>
with the updater command. Older downstream locks retain their own runtime data.
Invoke through nix-update
Section titled “Invoke through nix-update”The runtime declares passthru.updateScript, so:
nix-update --use-update-script packages.x86_64-linux.pi-bolt-runtimeThis dispatches to the same updater. Plain nix-update is not the replacement: it would not coordinate both hashes and the
stamp. Moving the release source input remains a separate lock/tag change.
Plugin dependency locks are consumer-owned and have a different workflow.
Rotate the release key
Section titled “Rotate the release key”keys/release.pub is the trusted repository copy, not a key supplied alongside an untrusted release. Replace it only after
confirming an upstream rotation and checking a release signed by the new key:
openssl dgst -sha256 -verify new-release.pub -signature SHA256SUMS.sig SHA256SUMSThe architecture page describes runtime matching and build layers.