Skip to content

build: license, goreleaser release pipeline, and CI - #1

Merged
skeeeon merged 2 commits into
mainfrom
chore/release-tooling
Aug 22, 2026
Merged

build: license, goreleaser release pipeline, and CI#1
skeeeon merged 2 commits into
mainfrom
chore/release-tooling

Conversation

@skeeeon

@skeeeon skeeeon commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

The CLI is documented as a first-class component of the platform (a 407-line chapter, the longest page on the docs site) but had no license, no release tooling and no CI. The only way to get a binary was go build -o stone, so every user compiled their own and --version reported dev.

  • LICENSE — none previously, which means all rights reserved by default.
  • .goreleaser.yaml — six targets from one runner (nothing in the tree needs cgo), stamping cmd.version. windows/arm64 is included here and excluded in the platform on purpose: this is a laptop and CI-runner tool, and ARM Windows laptops exist; a server binary has no such audience. Archives carry LICENSE, README.md and SKILLS.md.
  • ci.yml — gofmt gate, vet, test, build, plus a cross-compile of the whole release matrix on every PR, so a broken target is found before a tag is pushed rather than by goreleaser failing on it.
  • release.yml — tests, then goreleaser on a v* tag.

Verified end to end locally: extracted the built linux/amd64 archive and ran it — stone version 0.0.0-SNAPSHOT-4695e37, so the stamp reaches the shipped binary.

🤖 Generated with Claude Code

skeeeon and others added 2 commits August 22, 2026 19:33
The CLI is documented as a first-class component of the platform but carried no
license file, which means all rights reserved by default. Same MIT text as the
platform repo.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
The CLI is documented as a first-class component of the platform but had no
release tooling and no CI at all: the only way to get a binary was
`go build -o stone`, which meant every user compiled their own and `--version`
reported "dev".

goreleaser builds six targets from one runner (nothing needs cgo) and stamps
cmd.version, so an installed `stone` can say what it is. windows/arm64 is
included here and excluded in the platform on purpose: this is a laptop and
CI-runner tool.

CI cross-compiles the whole release matrix on every pull request, so a broken
target is found before a tag is pushed rather than by goreleaser failing on it.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@skeeeon
skeeeon marked this pull request as ready for review August 22, 2026 19:52
@skeeeon
skeeeon merged commit efdfd97 into main Aug 22, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant