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
parent 81d4342d97
commit d48b6a0535

View File

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