Packs / github-ops-public
releases-signed-assets
Ship a versioned release: changelog, tag, build artifacts, SHA-256 sums (and optional GPG/cosign signatures or Apple notarization), `gh release create` with assets, and a verify step users can run.
Install
logicpacks pack use github-ops-public/releases-signed-assetsget_pack github-ops-public/releases-signed-assetsThe second line is the MCP tool call for the LogicPacks connector (Claude Code, Codex, Claude.ai and others). The first run of a pack someone else wrote asks for your yes.
Keys it needs (names only)
- GITHUB_TOKEN
Playbooks included
- Spec:
spec/SPEC.md(goal, steps, edge cases, don’ts) - Routes:
gh-cli - Checks: 1 in
outcome/checks.yaml - Code:
make_sums.sh - Tools: gh, git, shasum, gpg (optional), cosign (optional)
Usage, last 8 weeks
New: no recorded use yet.
Purpose (from spec/SPEC.md)
Ship a versioned release: changelog, tag, build artifacts, SHA-256 sums (and optional GPG/cosign signatures or Apple notarization), gh release create with assets, and a verify step users can run.
Goal
Users (and installers) can verify that a downloaded asset is exactly what we built.
Steps
- Bump CHANGELOG + README, commit; build artifacts into dist/.
- Sign platform binaries where the OS expects it (macOS: Developer ID codesign + notarize + staple; keys stay outside the repo).
- Checksums:
bash code/make_sums.sh distwritesSHA256SUMS(and<file>.sha256naming the file). - Optional detached signature:
gpg --armor --detach-sign dist/SHA256SUMSorcosign sign-blob. - Tag and release:
git tag vX.Y.Z && git push origin vX.Y.Z && gh release create vX.Y.Z dist/* --notes-file CHANGELOG.md. - Verify like a user: download,
shasum -a 256 -c SHA256SUMS; update any installer/Homebrew cask sha256.
Edge cases
- An install script that checks
<asset>.sha256needs the file name inside the sum file to match exactly. - Notarization keys and signing certs never go into the repo or the release.
Don'ts
- Don't upload unsigned/unsummed installers.
- Don't reuse a tag for different bits; bump the version.