Fixed `x86_64` Homebrew update (#29)

Seems we need to build separate archives too and pass it to `brew`.
This commit is contained in:
Fedor Korotkov 2024-01-24 16:30:36 +04:00 committed by GitHub
parent 5f3b371e93
commit 817dbb6e32
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 4 deletions

View File

@ -19,10 +19,13 @@ builds:
path: "target/x86_64-apple-darwin/release-with-debug/softnet" path: "target/x86_64-apple-darwin/release-with-debug/softnet"
archives: archives:
- id: binary - id: regular-arm64
format: binary builds:
- softnet-arm64
name_template: "{{ .ProjectName }}-{{ .Arch }}" name_template: "{{ .ProjectName }}-{{ .Arch }}"
- id: regular - id: regular-x86
builds:
- softnet-x86
name_template: "{{ .ProjectName }}-{{ .Arch }}" name_template: "{{ .ProjectName }}-{{ .Arch }}"
release: release:
@ -31,7 +34,8 @@ release:
brews: brews:
- name: softnet - name: softnet
ids: ids:
- regular - regular-arm64
- regular-x86
tap: tap:
owner: cirruslabs owner: cirruslabs
name: homebrew-cli name: homebrew-cli