build(release): add release automation #10

Merged
KofTwentyTwo merged 1 commits from feature/GH-9-release-automation into develop 2026-05-26 22:03:05 +00:00
KofTwentyTwo commented 2026-05-26 21:54:19 +00:00 (Migrated from github.com)

Summary

  • Adds a tag-driven GitHub Actions release workflow that runs Go checks, cross-builds macOS/Linux amd64/arm64 binaries, publishes GitHub Release assets, and updates the Homebrew tap.
  • Adds a Homebrew formula template plus release documentation in README.md, CONTRIBUTING.md, docs/DESIGN.md, and CLAUDE.md.
  • Injects the Nix package version into main.version so Nix-built binaries report the release version.
  • Documents the local Home Manager tool list in docs/DEV-TOOLS.md.

Tap setup

Created KofTwentyTwo/homebrew-tap and seeded it with a README. The first tagged limen release will create Formula/limen.rb with real release URLs and SHA256 values.

Before the first release tag, add a HOMEBREW_TAP_TOKEN Actions secret to KofTwentyTwo/limen with contents read/write access to KofTwentyTwo/homebrew-tap.

Validation

  • go test -race -count=1 ./...
  • go vet ./...
  • go build ./...
  • Cross-build smoke test for limen-linux-amd64, limen-linux-arm64, limen-macos-amd64, and limen-macos-arm64
  • ruby -c packaging/homebrew/limen.rb
  • nix flake check
  • nix build
  • nix run nixpkgs#actionlint .github/workflows/ci.yml .github/workflows/release.yml

Closes #9

## Summary - Adds a tag-driven GitHub Actions release workflow that runs Go checks, cross-builds macOS/Linux amd64/arm64 binaries, publishes GitHub Release assets, and updates the Homebrew tap. - Adds a Homebrew formula template plus release documentation in `README.md`, `CONTRIBUTING.md`, `docs/DESIGN.md`, and `CLAUDE.md`. - Injects the Nix package version into `main.version` so Nix-built binaries report the release version. - Documents the local Home Manager tool list in `docs/DEV-TOOLS.md`. ## Tap setup Created `KofTwentyTwo/homebrew-tap` and seeded it with a README. The first tagged limen release will create `Formula/limen.rb` with real release URLs and SHA256 values. Before the first release tag, add a `HOMEBREW_TAP_TOKEN` Actions secret to `KofTwentyTwo/limen` with contents read/write access to `KofTwentyTwo/homebrew-tap`. ## Validation - `go test -race -count=1 ./...` - `go vet ./...` - `go build ./...` - Cross-build smoke test for `limen-linux-amd64`, `limen-linux-arm64`, `limen-macos-amd64`, and `limen-macos-arm64` - `ruby -c packaging/homebrew/limen.rb` - `nix flake check` - `nix build` - `nix run nixpkgs#actionlint .github/workflows/ci.yml .github/workflows/release.yml` Closes #9
Sign in to join this conversation.