Skip to content

Conversation

@wesm
Copy link
Collaborator

@wesm wesm commented Jan 24, 2026

Fixes #86

Summary

  • Add robust Homebrew tap update to release workflow
  • Add Homebrew installation option to README

Release Workflow Improvements

  • Use Ruby instead of sed to update formula (handles nested on_macos/on_linux blocks correctly)
  • Validate all 4 checksums were updated (darwin/linux × amd64/arm64)
  • Fail build if any checksum update is missing
  • Skip commit on re-runs when formula is already up-to-date
  • Add verification step that greps for expected checksums

Installation

brew install wesm/taps/roborev

Related Changes

  • homebrew-taps: Updated formula with correct repo URL, Linux support, removed non-existent roborevd binary
  • roborev-docs: Added Homebrew section to installation page

Test Plan

  • Ruby update script handles nested blocks correctly
  • Validation catches missing checksums
  • Re-run safety (skips commit when no changes)

🤖 Generated with Claude Code

wesm and others added 4 commits January 24, 2026 06:26
Automatically updates the wesm/homebrew-taps repository with new
version and SHA256 checksums when a release is created.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use Ruby instead of sed for formula updates (handles nested blocks)
- Add validation that all checksums were updated
- Skip commit if no changes (handles re-runs)
- Add Linux support to formula updates
- Add Homebrew installation option to README

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Fix Ruby block tracking: process 'end' statements after sha256 updates
  to correctly handle nested if blocks within on_macos/on_linux
- Add artifact existence checks before sha256sum with clear error messages
- The git commit guard for re-runs was already in place

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- README: wesm/taps → roborev-dev/tap
- release.yml: wesm/homebrew-taps → roborev-dev/homebrew-tap

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@wesm wesm merged commit d590a5d into main Jan 24, 2026
7 checks passed
@wesm wesm deleted the homebrew branch January 24, 2026 17:39
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.

Homebrew tap support

2 participants