Skip to content

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-assets
get_pack github-ops-public/releases-signed-assets

The 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

  1. Bump CHANGELOG + README, commit; build artifacts into dist/.
  2. Sign platform binaries where the OS expects it (macOS: Developer ID codesign + notarize + staple; keys stay outside the repo).
  3. Checksums: bash code/make_sums.sh dist writes SHA256SUMS (and <file>.sha256 naming the file).
  4. Optional detached signature: gpg --armor --detach-sign dist/SHA256SUMS or cosign sign-blob.
  5. 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.
  6. Verify like a user: download, shasum -a 256 -c SHA256SUMS; update any installer/Homebrew cask sha256.

Edge cases

  • An install script that checks <asset>.sha256 needs 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.