Skip to content

feat(install): add go install, Homebrew, and GitHub Releases channels (#20)#32

Merged
nmccready merged 3 commits into
feat/v0.3.0from
fix/issue-20-install-channels
May 19, 2026
Merged

feat(install): add go install, Homebrew, and GitHub Releases channels (#20)#32
nmccready merged 3 commits into
feat/v0.3.0from
fix/issue-20-install-channels

Conversation

@nmccready
Copy link
Copy Markdown
Contributor

Summary

  • go install: debug.ReadBuildInfo fallback in internal/version/version.gogo install builds now report the module proxy version instead of "dev". ldflags builds (goreleaser, npm) are unaffected (init() early-returns when Version != "dev").
  • Homebrew tap: brews: block added to .goreleaser.yaml targeting brickhouse-tech/homebrew-tap. Tap auto-updates on every tagged release. (Tap repo needs to be created once: gh repo create brickhouse-tech/homebrew-tap --public.)
  • GitHub Releases: already wired via goreleaser — documented the curl-install pattern + checksums.txt in README.
  • README: all four install channels documented; deprecated standalone curl/bash section removed (bash impl removed in follow-up PR Remove deprecated bash implementation (src/sh/sync-agents.sh) #19).

Test plan

  • go build ./... passes (verified locally)
  • After next tag: go install github.com/brickhouse-tech/sync-agents@latest reports correct semver from --version
  • After next tag: goreleaser creates brickhouse-tech/homebrew-tap formula automatically (requires tap repo to exist)
  • README install section renders correctly on GitHub

Closes #20

🤖 Generated with Claude Code

nmccready and others added 2 commits May 18, 2026 23:57
…#20)

- Add debug.ReadBuildInfo fallback in internal/version so `go install`
  builds report the module version instead of "dev"
- Add brews block to .goreleaser.yaml pointing at brickhouse-tech/homebrew-tap;
  tap is auto-updated on every tagged release
- Document all four install channels in README (npm, go install, Homebrew,
  GitHub Releases); removes deprecated standalone curl section

Closes #20

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…ples (#19)

- Delete src/sh/sync-agents.sh — bash implementation removed
- bin/sync-agents.js: remove fallback branch; unsupported triples now exit 1
  with a clear message pointing to go install / brew / GitHub Releases
- package.json: drop lint (shellcheck), test:sh, concurrently devDep;
  test script delegates to make test; files array no longer includes src/**/*
- Makefile test target: remove SYNC_AGENTS_BIN=bin/sync-agents prefix
- test/sync-agents.bats: resolve Go binary by default (bin/sync-agents)
  instead of the bash script; SYNC_AGENTS_BIN override kept for CI flexibility

Closes #19

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…impl

feat(remove-bash): drop bash fallback, fail loudly on unsupported triples (#19)
@nmccready nmccready merged commit 26e2359 into feat/v0.3.0 May 19, 2026
2 checks passed
@nmccready nmccready deleted the fix/issue-20-install-channels branch May 19, 2026 04:14
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