Skip to content

Adopt GoReleaser: archives, checksums.txt, SBOM, cosign signatures, changelog-driven release notes #61

Closed

Description

@TMHSDigital

Why it matters

Release assets today are bare binaries, each with its own .sha256. The release body is just "Full Changelog: ...", even though CHANGELOG.md has detailed notes. Package managers and security-conscious users expect a standard release layout, and this repo already maintains about 340 lines of release YAML by hand (.github/workflows/go.yml).

What's missing

  • Archives (.tar.gz / .zip) bundling LICENSE and README.
  • A combined checksums.txt.
  • An SBOM (syft).
  • Keyless cosign signatures. Provenance attestations already exist.
  • Release notes taken from the matching CHANGELOG section.
  • windows/arm64 and linux/386 or freebsd builds.

Suggested approach

  • Add .goreleaser.yaml with CGO_ENABLED=0, -trimpath, -s -w and version ldflags. This also prevents the dynamic-linking problem in Release linux/amd64 binary is dynamically linked, contradicting the "single static binary" claim #46 from coming back.
  • Generate archives, checksums, an SBOM via syft and cosign keyless signing.
  • Keep the existing actions/attest-build-provenance step.
  • Feed release notes from CHANGELOG.md, e.g. with a small awk extractor or --release-notes.
  • Retire the hand-written release matrix once parity is confirmed. The GHCR job can stay or move to GoReleaser dockers_v2.

Done when

A tag push produces signed archives, checksums.txt, an SBOM and changelog-based notes, and README "Pre-built binaries" documents how to verify them.

Activity

  1. added
    enhancement
    priority: medium
    ci
    area: release
    on Oct 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: releasecienhancementpriority: medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions