Compare commits

...
2 Commits
Author SHA1 Message Date
Fedor Korotkov f5a1b1cdbd Goreleaser Fix (#30)
* Goreleaser Bug

Theoretically this config should work but it doesn't

* Specify `goamd64`
2024-01-24 19:09:59 +04:00
Fedor Korotkov 817dbb6e32 Fixed x86_64 Homebrew update (#29)
Seems we need to build separate archives too and pass it to `brew`.
2024-01-24 07:30:36 -05:00
2 changed files with 6 additions and 15 deletions
+2
View File
@@ -1 +1,3 @@
/.idea
/dist
/target /target
+4 -15
View File
@@ -1,27 +1,18 @@
project_name: softnet project_name: softnet
builds: builds:
- id: softnet-arm64 - id: softnet
builder: prebuilt builder: prebuilt
goamd64: [v1]
goos: goos:
- darwin - darwin
goarch: goarch:
- arm64 - arm64
prebuilt:
path: "target/aarch64-apple-darwin/release-with-debug/softnet"
- id: softnet-x86
builder: prebuilt
goos:
- darwin
goarch:
- amd64 - amd64
prebuilt: prebuilt:
path: "target/x86_64-apple-darwin/release-with-debug/softnet" path: 'target/{{- if eq .Arch "arm64" }}aarch64{{- else }}x86_64{{ end }}-apple-darwin/release-with-debug/softnet'
archives: archives:
- id: binary
format: binary
name_template: "{{ .ProjectName }}-{{ .Arch }}"
- id: regular - id: regular
name_template: "{{ .ProjectName }}-{{ .Arch }}" name_template: "{{ .ProjectName }}-{{ .Arch }}"
@@ -30,9 +21,7 @@ release:
brews: brews:
- name: softnet - name: softnet
ids: repository:
- regular
tap:
owner: cirruslabs owner: cirruslabs
name: homebrew-cli name: homebrew-cli
caveats: See the Github repository for more information caveats: See the Github repository for more information