open-telemetry / opentelemetry-collector-releases

OpenTelemetry Collector Official Releases
https://opentelemetry.io
Apache License 2.0
252 stars 162 forks source link

[chore] Update goreleaser used in CI to v2.3.2 #689

Closed jade-guiton-dd closed 1 month ago

jade-guiton-dd commented 1 month ago

The Github actions previously broke twice because of the release of goreleaser v2.3. I worked around this in PRs #667 and #676 by pinning the version used to v2.2.

After investigating, the causes of breakage were the following:

This PR fixes these bugs and updates the goreleaser version to v2.3.2, by updating the expected directory name for the linux_amd64_v1 build outputs, and by specifying the $GOARM version parameter.

If we expect no such breakage to happen again, this would allow us to go back to using the latest version of goreleaser at all times, as suggested in #668.

I haven't tested the release CI yet for lack of a goreleaser pro key.

jade-guiton-dd commented 1 month ago

@songy23 I don't think so. That PR updates the version of goreleaser used in the tool that generates the .goreleaser.yaml files, but upgrading to v2.3.2 doesn't seem to require changes on that front, only in the CI workflow files.