Skip to content

Select the Linux archive in the Homebrew formula - #82

Open
guilhem wants to merge 1 commit into
beeper:mainfrom
guilhem:fix/homebrew-linux-archives
Open

guilhem wants to merge 1 commit into
beeper:mainfrom
guilhem:fix/homebrew-linux-archives

Conversation

@guilhem

@guilhem guilhem commented Dec 2, 2026

Copy link
Copy Markdown

Summary

The generated formula chooses a macOS archive by CPU alone, so Homebrew on Linux can install a Mach-O executable. I reproduced this on Linux x86_64 with 0.6.4 and confirmed that the 0.6.5 tap formula still points to macOS archives.

Select the archive and checksum by both operating system and CPU architecture. Fail before publishing if release metadata is missing an archive or its checksum for a supported target.

Validation

  • Generated the formula from the published v0.6.5 homebrew.json using the release publisher and a local test tap.
  • Checked all four platform selections in Homebrew's simulator against the release URLs and SHA-256 checksums.
  • Ran Homebrew's staging and formula install against the official v0.6.5 Linux x64 archive in an isolated prefix. The installed binary reported @beeper/cli/0.6.5 linux-x64.
  • Checked that incomplete release metadata fails before cloning or writing to the tap.

The current tap will need to be regenerated from a release with this change. The existing email-setup SDK mismatch is tracked separately in #61 and #66.

@guilhem
guilhem marked this pull request as ready for review December 2, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant