Skip to content

Add Homebrew formula for brew install go-linear #59

@eslerm

Description

@eslerm

Summary

Add a Homebrew formula so users can install via brew tap + brew install.

Approach

The chainguard-dev/homebrew-tap repo already has formulas for apko, dfc, melange, and chainctl. dfc uses GoReleaser to auto-generate its formula on release.

Proposed steps:

  1. Adopt GoReleaser — replace the shell-based build matrix in release.yaml with a .goreleaser.yaml config. This matches the dfc pattern and auto-generates + pushes the Homebrew formula on each tagged release.
  2. Switch release artifacts to .tar.gz archives — aligns with Homebrew conventions and the existing tap formulas.
  3. Add formula to chainguard-dev/homebrew-tap — or a chainguard-sandbox tap if the repo stays here.

Alternatives

  • Hand-write the formula and add a workflow step to update it on release (avoids GoReleaser dependency, more to maintain manually).
  • Submit to homebrew-core (project likely doesn't meet notability requirements yet).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions