From 6cd8aefee2ea541132830777ca8febe5f05edc3c Mon Sep 17 00:00:00 2001 From: Martin Hickey Date: Tue, 5 Apr 2022 21:33:59 +0100 Subject: [PATCH] Remove Darwin 32-bit release (#98) * Remove Darwin 32-bit release Darwin 386 build is no longer supported by Go. This is because it dropped support for 32-bit binaries on macOS in Go 1.15. It makes sense to therefore drop this collector binary also. Signed-off-by: Martin Hickey * Upadte after make generate-goreleaser Signed-off-by: Martin Hickey * Revert previous commit Signed-off-by: Martin Hickey * Generate goreleaser config Signed-off-by: Martin Hickey --- .goreleaser.yaml | 4 ++++ goreleaser/configure.go | 1 + 2 files changed, 5 insertions(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 9b63fedb..c76a53a0 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -10,6 +10,8 @@ builds: - amd64 - arm64 ignore: + - goos: darwin + goarch: "386" - goos: windows goarch: arm64 dir: distributions/otelcol/_build @@ -30,6 +32,8 @@ builds: - amd64 - arm64 ignore: + - goos: darwin + goarch: "386" - goos: windows goarch: arm64 dir: distributions/otelcol-contrib/_build diff --git a/goreleaser/configure.go b/goreleaser/configure.go index 30df7c7a..bfe1a8fa 100644 --- a/goreleaser/configure.go +++ b/goreleaser/configure.go @@ -85,6 +85,7 @@ func Build(dist string) config.Build { Goos: []string{"darwin", "linux", "windows"}, Goarch: architecturesForDist(dist), Ignore: []config.IgnoredBuild{ + {Goos: "darwin", Goarch: "386"}, {Goos: "windows", Goarch: "arm64"}, }, }