Skip to content

Fix generated Homebrew formula install path - #60

Merged
iFixRobots merged 1 commit into
mainfrom
iFixRobots/fix-brew-install
Oct 31, 2026
Merged

iFixRobots merged 1 commit into
mainfrom
iFixRobots/fix-brew-install

Conversation

@iFixRobots

Copy link
Copy Markdown
Contributor

publish-homebrew-formula.ts writes bin.install "bin/beeper", so brew install beeper/tap/cli breaks on every release with No such file or directory - bin/beeper. That's how 0.6.3 and 0.6.4 shipped broken, even though the tap had been hand-fixed in May.

build-homebrew-archive.ts zips a single top-level bin/ folder. Homebrew cds into a lone top-level directory when it stages an archive, so the formula's install already runs inside bin/. The generated formula now uses bin.install "beeper".

Checked by running the formula's install through Homebrew's own staging on the 0.6.4 arm64 zip:

  • before: Errno::ENOENT: No such file or directory - bin/beeper
  • after: installs Cellar/cli/0.6.4/bin/beeper

The tap fix for the current formula is a separate PR in beeper/homebrew-tap.

View in Indent
Tag @indent to continue the conversation here.

@iFixRobots
iFixRobots merged commit b9e0163 into main Oct 31, 2026
7 of 8 checks passed
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