From 96f56978480766ccbfcc09cccb7c547cc0eedcb6 Mon Sep 17 00:00:00 2001 From: Ian Davis Date: Fri, 18 Nov 2022 16:28:07 +0000 Subject: [PATCH] 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. --- .goreleaser.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index fea3191d8..021945acf 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -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