Repository navigation
Add goreleaser and rewrite the README for snadcat - #10
Merged
Merged
Conversation
Release tooling for the first published binary: six targets (linux/darwin/windows x amd64/arm64), CGO off so they are static, -trimpath, and the version stamped through ldflags so a release archive does not depend on the toolchain's VCS stamps. Every archive carries LICENSE and NOTICE, which Apache-2.0 section 4 requires of a redistribution and these archives are the redistribution. The workflow releases on a v* tag; a manual run builds a snapshot, skips publishing and uploads the artifacts, so the pipeline can be exercised without cutting a release. Actions are pinned by commit as elsewhere. Verified locally with `goreleaser check` and a full snapshot build: archives contain the licence files, the binary reports the stamped version, and the linux build is statically linked. The README now documents snadcat rather than upstream's bash tool: install from Releases with checksum verification or `go install`, no yq or jq needed on the host, and a prominent status section saying what "early" means — docker support is about to be replaced by podman, there is no upgrade path until the manifest lands, and the docs/ site still describes the bash tool. install.sh is left alone; it installs the bash CLI and the README says so. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01YKma722KMnAX3LcDLUYDQ5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Milestone 6d, first half. Makes the binary installable; the tag is not pushed by this PR.
.goreleaser.yaml— six targets (linux/darwin/windows × amd64/arm64),CGO_ENABLED=0so they are static,-trimpath, and the version stamped via-X …/internal/version.Versionso a release archive doesn't depend on the toolchain's VCS stamps. Every archive carriesLICENSEandNOTICE— Apache-2.0 §4 requires that of a redistribution, and these archives are the redistribution..github/workflows/release.yml— releases on av*tag;workflow_dispatchbuilds a snapshot, skips publishing, and uploadsdist/so the pipeline can be exercised without cutting a release. Actions pinned by commit.Verified locally:
goreleaser checkpasses, a full snapshot build produces all six archives, each containsLICENSE/NOTICE/README.md/snadcat, the extracted binary reportsSnadcat 0.0.1-next, and the linux build isstatically linked.README rewritten for snadcat: install from Releases with checksum verification, or
go install; noyq/jqneeded on the host. It leads with a status section saying what "early" means — docker support is about to be replaced by podman and removed, there is no upgrade path until the manifest lands (#7), anddocs/still describes the bash tool (#9). Upstream's commercial-support section is reframed as theirs, with a note that this fork is unaffiliated.install.shis untouched; it installs the bash CLI and the README says so.After merge,
v0.0.1is a tag push away.🤖 Generated with Claude Code
https://claude.ai/code/session_01YKma722KMnAX3LcDLUYDQ5