nats-io / homebrew-nats-tools

Repository hosting homebrew taps for nats-io tools
Apache License 2.0
5 stars 5 forks source link

Error tapping brew formula #9

Closed neeraj-htp closed 2 years ago

neeraj-htp commented 2 years ago

Error Running command brew tap nats-io/nats-tools on mac with intel chip set.

==> Tapping nats-io/nats-tools
Cloning into '/usr/local/Homebrew/Library/Taps/nats-io/homebrew-nats-tools'...
remote: Enumerating objects: 214, done.
remote: Counting objects: 100% (214/214), done.
remote: Compressing objects: 100% (197/197), done.
remote: Total 214 (delta 47), reused 24 (delta 5), pack-reused 0
Receiving objects: 100% (214/214), 39.06 KiB | 1.05 MiB/s, done.
Resolving deltas: 100% (47/47), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/nats-io/homebrew-nats-tools/Formula/nsc.rb
formulae require at least a URL
Error: Cannot tap nats-io/nats-tools: invalid syntax in tap!

Because this commit removed the intel CPU check.

neeraj-htp commented 2 years ago

@goreleaserbot

philpennock commented 2 years ago

This is from the goreleaser brews integration. I am looking now.

philpennock commented 2 years ago

Upgrading goreleaser-pro from 1.8.1 to 1.8.3 fixes this issue. I will fix for the future and see about fixing the current brew spec.

philpennock commented 2 years ago

https://github.com/nats-io/nsc/pull/489 should have fixed this going forward.

philpennock commented 2 years ago

The current 2.7.1 formula has been fixed too.

Thank you for the report! Much appreciated.