Skip to content

Switch OpenBoot installation from Homebrew tap to GitHub releases#4

Merged
fullstackjam merged 1 commit intomainfrom
claude/fix-install-script-version-i5xDr
Apr 22, 2026
Merged

Switch OpenBoot installation from Homebrew tap to GitHub releases#4
fullstackjam merged 1 commit intomainfrom
claude/fix-install-script-version-i5xDr

Conversation

@fullstackjam
Copy link
Copy Markdown
Contributor

Summary

Changed the OpenBoot installation method from using a Homebrew tap to directly downloading binaries from GitHub releases. This simplifies the installation process and removes the dependency on Homebrew for OpenBoot itself.

Key Changes

  • Replaced Homebrew-based installation with direct GitHub release binary downloads
  • Renamed TAP_NAME variable to OPENBOOT_REPO to reflect the new installation method
  • Created new install_openboot() function that:
    • Fetches the latest release version from GitHub API
    • Downloads the appropriate binary for the detected OS and architecture
    • Installs to /usr/local/bin/openboot with sudo fallback if needed
  • Removed Homebrew tap-specific logic including:
    • Brew list checks for existing installations
    • Reinstall prompts
    • Brew reinstall/install commands
  • Updated test expectations to verify GitHub releases integration instead of Homebrew tap

Implementation Details

  • The installation now fetches the latest version dynamically from https://api.github.com/repos/openbootdotdev/openboot/releases/latest
  • Binary naming convention: openboot-{os}-{arch} (e.g., openboot-darwin-arm64)
  • Gracefully handles permission issues by attempting direct write first, then falling back to sudo
  • Maintains the same overall installation flow with Xcode CLT and Homebrew setup as prerequisites

https://claude.ai/code/session_0189UGKcGBPUJz3XucAPPpwR

…ad of Homebrew tap

Homebrew caches tap formula versions and only updates when the user runs
`brew update`, so users were getting stale versions (e.g. v0.55.2) even
when newer releases were available. The generated install script now
queries the GitHub releases API at runtime to get the true latest version
tag and downloads the binary directly, bypassing the tap entirely.

https://claude.ai/code/session_0189UGKcGBPUJz3XucAPPpwR
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fullstackjam fullstackjam merged commit 5d67db1 into main Apr 22, 2026
5 checks passed
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.

2 participants