Skip to content

Let release.sh's install check pass before the release is signed - #21

Merged
reka18 merged 1 commit into
mainfrom
fix/release-install-check
Nov 26, 2026
Merged

reka18 merged 1 commit into
mainfrom
fix/release-install-check

Conversation

@reka18

@reka18 reka18 commented Nov 26, 2026

Copy link
Copy Markdown
Owner

release.sh installs the Apple Silicon tarball with install.sh as a last check. install.sh refuses a release without SHA256SUMS.minisig, and nothing is signed yet at that point, so every release since signing began stopped there. Each draft was then created by hand with gh release create.

The check now:

  • signs a copy of SHA256SUMS with a throwaway minisign key in a temporary folder;
  • runs a copy of install.sh whose RELEASE_KEYS is only that key.

The signature path still runs, and the real install.sh, release key and dist/ are untouched. Without minisign, the check falls back to SHA256SUMS only, as install.sh does.

A new test runs the block with the real minisign: a matching build installs with "signature ok", and a tarball that doesn't match SHA256SUMS fails. It fails on the old block with the same error the releases hit. It runs only where minisign is installed, so GitHub's runners skip it.

install.sh refuses an unsigned release, and nothing is signed when
release.sh runs, so every release stopped at the check and its draft was
made by hand. The check now signs a copy of SHA256SUMS with a throwaway key
and runs a copy of install.sh that trusts only that key.
@reka18
reka18 merged commit 7135a97 into main Nov 26, 2026
3 checks passed
@reka18
reka18 deleted the fix/release-install-check branch November 26, 2026 03:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant