ci: auto-bump homebrew formula on release #39
Reference in New Issue
Block a user
Delete Branch "ci/homebrew-auto-bump"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
.github/workflows/homebrew-bump.yml— triggered onrelease: publishedandworkflow_dispatch. Fetches sha256 checksums from published release assets and rewrites the tap formula.scripts/update-homebrew-formula.py— idempotent edit: bumpsversion, URL paths, and inserts/replacessha256lines after eachurl. Preserves theon_macos/on_linux+Hardware::CPU.arm?structure of the existing formula.HOMEBREW_TAP_GITHUB_TOKEN(already configured as a repo secret) to push directly torazvandimescu/homebrew-tapmain.Notes
workflow_dispatchonce to catch the tap up.Test plan
version=0.10.0and verify a commit lands inrazvandimescu/homebrew-tapbumping the formulabrew update && brew upgrade numapicks up v0.10.0