# 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.

- **Space:** github-ops-public (https://github.com/Tech-Realm/space-github-ops-public/tree/main/releases-signed-assets)
- **Level:** L1 (as the registry reports it)
- **Keys it needs (names only):** GITHUB_TOKEN
- **Tools:** gh, git, shasum, gpg (optional), cosign (optional)
- **Routes:** gh-cli; checks: 1
- **Uses:** new (no recorded use yet)
- **Install:** `logicpacks pack use github-ops-public/releases-signed-assets` or MCP `get_pack github-ops-public/releases-signed-assets`
- **Files:** CHANGELOG.md, code/make_sums.sh, outcome/EVIDENCE.md, outcome/checks.yaml, outcome/results.json, pack.yaml, spec/SPEC.md, spec/source.md

## Purpose (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.



---

Canonical URL: https://logicpacks.io/packs/github-ops-public/releases-signed-assets

Developed by TechRealm (techrealm.online), the software team. Operated by Al Jash Trading (Establishment), Abu Dhabi, since 1994, the legal entity that hosts and is responsible for the service. Economic licence CN-1030597, Abu Dhabi Registration Authority. Address: Office 5, Bani Yas West 4, Bani Yas, Abu Dhabi, UAE. Website: https://aljashtrading.com. Contact: hello@logicpacks.io, security@logicpacks.io, WhatsApp +1 713 632 2262 (https://wa.me/17136322262).

Machine-readable index: [/llms.txt](/llms.txt). Plain facts: [/about.md](/about.md). Safety: [/safety.md](/safety.md).
