Skip to content

Add Homebrew tap auto-update to release workflow#73

Merged
emal-avala merged 1 commit intomainfrom
feat/homebrew-auto-update
Apr 6, 2026
Merged

Add Homebrew tap auto-update to release workflow#73
emal-avala merged 1 commit intomainfrom
feat/homebrew-auto-update

Conversation

@emal-avala
Copy link
Copy Markdown
Member

Summary

  • Adds update-homebrew job to release.yml that runs after the GitHub Release is created
  • Downloads all 4 platform tarballs, computes SHA256 checksums, generates the formula, pushes to avala-ai/homebrew-tap
  • Updates RELEASING.md with the new HOMEBREW_TAP_TOKEN secret requirement and Homebrew verification step
  • Also updated the live tap formula from v0.9.2 to v0.13.1 (direct push to avala-ai/homebrew-tap)

How it works

  1. release job creates the GitHub Release with binary artifacts
  2. update-homebrew job (needs: release) downloads the 4 tarballs via curl
  3. Computes SHA256 for each platform
  4. Generates agent-code.rb from heredoc template with version + checksums
  5. Pushes to avala-ai/homebrew-tap via GitHub Contents API

Required setup

Add HOMEBREW_TAP_TOKEN secret to repo settings — GitHub PAT with contents:write scope on avala-ai/homebrew-tap

Test plan

  • YAML validates
  • Tap formula manually updated to v0.13.1 with correct SHA256s
  • Verify brew install avala-ai/tap/agent-code installs v0.13.1
  • Add HOMEBREW_TAP_TOKEN secret to repo settings
  • Next tagged release will auto-update the tap

The release workflow now automatically updates avala-ai/homebrew-tap
after creating a GitHub Release. Downloads the 4 platform tarballs,
computes SHA256 checksums, generates the formula, and pushes it via
the GitHub Contents API.

Requires HOMEBREW_TAP_TOKEN secret with contents:write on the tap repo.
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@emal-avala emal-avala merged commit d3628f8 into main Apr 6, 2026
14 checks passed
@emal-avala emal-avala deleted the feat/homebrew-auto-update branch April 6, 2026 07:37
@emal-avala emal-avala mentioned this pull request Apr 6, 2026
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