ci: auto-update Homebrew formula on new releases#19
Closed
naman485 wants to merge 1 commit into
Closed
Conversation
Adds an `update-homebrew` job to the release workflow that: - Downloads SHA256 checksums from the just-published release - Generates an updated Formula/createos.rb with new version + hashes - Pushes to NodeOps-app/homebrew-createos Requires HOMEBREW_TAP_TOKEN secret (PAT with repo scope for the tap repo). Runs after binaries are uploaded, so SHA256 files are always available. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Collaborator
|
Done. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds an
update-homebrewjob to the release workflow so that every time a new version is tagged (v*), the Homebrew formula atNodeOps-app/homebrew-createosis automatically updated with the new version and SHA256 hashes.How it works
update-homebrewjob runs afterreleasejob completesFormula/createos.rbwith new version + hashesNodeOps-app/homebrew-createosSetup required
Add a
HOMEBREW_TAP_TOKENsecret to thecreateos-clirepo:contents: writepermission onNodeOps-app/homebrew-createosHOMEBREW_TAP_TOKENTest plan
HOMEBREW_TAP_TOKENsecretv0.0.4)homebrew-createos/Formula/createos.rbis auto-updatedbrew upgrade createospicks up the new version🤖 Generated with Claude Code