-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Brew tap is broken on arm-based macs #199
Comments
I think #200 should do it? Assuming that works, I'll try and it to the latest release. Thanks for bringing this up! |
It works, just need to figure out how to get it to re-publish the assets. |
Well that was fun 😅 this exposed a few problems with our release process but it's all fixed now 🎉 Check out https://github.com/roots/homebrew-tap/blob/master/Formula/trellis-cli.rb#L11 + there's ARM versions attached to the GH release. I assume this should all be working. |
Thanks, the install is working great now! I'm still running into some issues with Trellis and my M1 Mac Mini. Will move discussion to roots/trellis#1253 if I can't resolve them. |
Description
On arm-based macs, when attempting to install via
brew install roots/tap/trellis-cli
, installation fails:It looks like this is due to the tap code generated by goreleaser, which checks if the CPU is an intel-based CPU, and if not, skips installation. See https://github.com/roots/homebrew-tap/blob/master/Formula/trellis-cli.rb#L11:
Versions
v1.0.0
Additional information
As arm-based macs can run intel binaries, this could be fixed by simply removing the
if
statement in the tap code. However, as it is generated by goreleaser, I'm not sure if this is possible. I've taken a look at the goreleaser brew configuration, but couldn't find a simple fix.Perhaps it would be possible to provide an ARM binary?
The text was updated successfully, but these errors were encountered: