Skip to content

ci: add release pipeline with goreleaser, homebrew tap, and --version flag#1

Merged
nahime0 merged 1 commit into
mainfrom
feature/homebrew
May 27, 2026
Merged

ci: add release pipeline with goreleaser, homebrew tap, and --version flag#1
nahime0 merged 1 commit into
mainfrom
feature/homebrew

Conversation

@nahime0
Copy link
Copy Markdown
Member

@nahime0 nahime0 commented May 27, 2026

Wires up the same automated release cycle as ggg:

  • internal/version package with Version/Commit injected via -ldflags
  • ggw --version (e.g. 'ggw v0.1.0 (abc1234)')
  • Makefile injects values from git describe / git rev-parse so local
    make build / make install match released binaries
  • .goreleaser.yaml cross-compiles darwin/linux x amd64/arm64, publishes
    a GitHub release with tarballs + changelog, and pushes a generated
    Homebrew cask to illegalstudio/homebrew-tap
  • GitHub Actions workflow triggers goreleaser on v* tag pushes

… flag

Wires up the same automated release cycle as ggg:

- internal/version package with Version/Commit injected via -ldflags
- ggw --version (e.g. 'ggw v0.1.0 (abc1234)')
- Makefile injects values from git describe / git rev-parse so local
  make build / make install match released binaries
- .goreleaser.yaml cross-compiles darwin/linux x amd64/arm64, publishes
  a GitHub release with tarballs + changelog, and pushes a generated
  Homebrew cask to illegalstudio/homebrew-tap
- GitHub Actions workflow triggers goreleaser on v* tag pushes

Requires a HOMEBREW_TAP_TOKEN secret with write access to the tap repo.
@nahime0 nahime0 merged commit 1adea02 into main May 27, 2026
@nahime0 nahime0 deleted the feature/homebrew branch May 27, 2026 13:24
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