Skip to content

Commit

Permalink
Remove Darwin 32-bit release (open-telemetry#98)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>

* Upadte after make generate-goreleaser

Signed-off-by: Martin Hickey <[email protected]>

* Revert previous commit

Signed-off-by: Martin Hickey <[email protected]>

* Generate goreleaser config

Signed-off-by: Martin Hickey <[email protected]>
  • Loading branch information
hickeyma authored Apr 5, 2022
1 parent 49633b3 commit 6cd8aef
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ builds:
- amd64
- arm64
ignore:
- goos: darwin
goarch: "386"
- goos: windows
goarch: arm64
dir: distributions/otelcol/_build
Expand All @@ -30,6 +32,8 @@ builds:
- amd64
- arm64
ignore:
- goos: darwin
goarch: "386"
- goos: windows
goarch: arm64
dir: distributions/otelcol-contrib/_build
Expand Down
1 change: 1 addition & 0 deletions goreleaser/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
},
}
Expand Down

0 comments on commit 6cd8aef

Please sign in to comment.