Skip to content

Commit

Permalink
fix: Update Homebrew formula (#297)
Browse files Browse the repository at this point in the history
Changes introduced in #288 broke
this glob pattern:

```ruby
bin.install Dir['sloctl-*-0.11.0'].first()  => "sloctl"
```

Since this is not a regular expression but a glob pattern, the newly
added arch suffix (and the moved OS name) failed to match.
  • Loading branch information
nieomylnieja authored Feb 24, 2025
1 parent 3db88b4 commit 4ad196f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ brews:
assert_predicate bin/"{{ .ProjectName }}", :exist?
system "{{ .ProjectName }}", "--help"
install: |
bin.install Dir['{{ .ProjectName }}-*-{{ .Version }}'].first() => "{{ .ProjectName }}"
bin.install Dir['{{ .ProjectName }}-{{ .Version }}-*'].first() => "{{ .ProjectName }}"
caveats: |
Thank you for installing the command-line client for Nobl9!
Expand Down

0 comments on commit 4ad196f

Please sign in to comment.