Add binary name to goreleaser build configs

Without this name, it assumes all binaries share the name of the project
(i.e. lotus), which causes them all to get renamed and collide when
generating the archive.
This commit is contained in:
Ian Davis 2022-11-18 16:28:07 +00:00 committed by Geoff Stuart
parent ff5c576a4d
commit 96f5697848

View File

@ -13,6 +13,7 @@ universal_binaries:
builds:
- id: lotus
binary: lotus
builder: prebuilt
goos:
- darwin
@ -28,6 +29,7 @@ builds:
prebuilt:
path: /tmp/workspace/{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ . }}{{ end }}/lotus
- id: lotus-miner
binary: lotus-miner
builder: prebuilt
goos:
- darwin
@ -43,6 +45,7 @@ builds:
prebuilt:
path: /tmp/workspace/{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ . }}{{ end }}/lotus-miner
- id: lotus-worker
binary: lotus-worker
builder: prebuilt
goos:
- darwin