open-telemetry / opentelemetry-collector-releases

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

Move partial goreleaser config to Go code #735

Open mowies opened 1 week ago

mowies commented 1 week ago

The partial configuration option for the goreleaser files was hardcoded in https://github.com/open-telemetry/opentelemetry-collector-releases/pull/478 as a hack/workaround. Since the goreleaser Go config was updated in https://github.com/goreleaser/goreleaser/issues/4635 and released, we can now move this to Go code next to the other configuration options now.

Example of config section: https://github.com/open-telemetry/opentelemetry-collector-releases/blob/ee3ebeb1021305640374e34203d59a1559966042/distributions/otelcol-contrib/.goreleaser.yaml#L1-L2

mowies commented 18 hours ago

i'll work on this