ci: auto-update Homebrew tap on release #37

Merged
razvandimescu merged 2 commits from fix/windows-clippy-and-ci into main 2026-04-07 03:46:55 +08:00
razvandimescu commented 2026-04-07 03:40:31 +08:00 (Migrated from github.com)

Summary

Add update-homebrew job to release.yml. After creating a GitHub release, it:

  1. Extracts SHA256 checksums from build artifacts
  2. Generates an updated numa.rb formula with correct version and hashes
  3. Pushes it to razvandimescu/homebrew-tap via the GitHub API

The Homebrew tap was stuck at v0.2.0 — this keeps it in sync automatically on every release.

Requires HOMEBREW_TAP_TOKEN secret (PAT with repo scope on homebrew-tap).

Test plan

  • CI passes
  • Next release verifies tap auto-update (needs HOMEBREW_TAP_TOKEN secret configured)

🤖 Generated with Claude Code

## Summary Add `update-homebrew` job to `release.yml`. After creating a GitHub release, it: 1. Extracts SHA256 checksums from build artifacts 2. Generates an updated `numa.rb` formula with correct version and hashes 3. Pushes it to `razvandimescu/homebrew-tap` via the GitHub API The Homebrew tap was stuck at v0.2.0 — this keeps it in sync automatically on every release. Requires `HOMEBREW_TAP_TOKEN` secret (PAT with repo scope on homebrew-tap). ## Test plan - [ ] CI passes - [ ] Next release verifies tap auto-update (needs `HOMEBREW_TAP_TOKEN` secret configured) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Sign in to join this conversation.