Skip to content

Commit

Permalink
Fixed x86_64 Homebrew update (#29)
Browse files Browse the repository at this point in the history
Seems we need to build separate archives too and pass it to `brew`.
  • Loading branch information
fkorotkov committed Jan 24, 2024
1 parent 5f3b371 commit 817dbb6
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@ builds:
path: "target/x86_64-apple-darwin/release-with-debug/softnet"

archives:
- id: binary
format: binary
- id: regular-arm64
builds:
- softnet-arm64
name_template: "{{ .ProjectName }}-{{ .Arch }}"
- id: regular
- id: regular-x86
builds:
- softnet-x86
name_template: "{{ .ProjectName }}-{{ .Arch }}"

release:
Expand All @@ -31,7 +34,8 @@ release:
brews:
- name: softnet
ids:
- regular
- regular-arm64
- regular-x86
tap:
owner: cirruslabs
name: homebrew-cli
Expand Down

0 comments on commit 817dbb6

Please sign in to comment.