From c0e531d417e6a3764baa856723ff2a77601492e5 Mon Sep 17 00:00:00 2001 From: jackgopack4 Date: Tue, 19 Nov 2024 16:21:56 -0500 Subject: [PATCH] fix build id --- cmd/goreleaser/internal/configure.go | 2 +- distributions/otelcol-contrib/.goreleaser.yaml | 2 +- distributions/otelcol-k8s/.goreleaser.yaml | 2 +- distributions/otelcol-otlp/.goreleaser.yaml | 2 +- distributions/otelcol/.goreleaser.yaml | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/goreleaser/internal/configure.go b/cmd/goreleaser/internal/configure.go index b4b4ce4c..2e4f0c10 100644 --- a/cmd/goreleaser/internal/configure.go +++ b/cmd/goreleaser/internal/configure.go @@ -142,7 +142,7 @@ func Build(dist string, pie bool) config.Build { } ignore = generateIgnored(goos, archs, pie) return config.Build{ - ID: dist, + ID: id, Dir: "_build", Binary: dist, BuildDetails: config.BuildDetails{ diff --git a/distributions/otelcol-contrib/.goreleaser.yaml b/distributions/otelcol-contrib/.goreleaser.yaml index 3b745a88..2fe09336 100644 --- a/distributions/otelcol-contrib/.goreleaser.yaml +++ b/distributions/otelcol-contrib/.goreleaser.yaml @@ -12,7 +12,7 @@ msi: - opentelemetry.ico - config.yaml builds: - - id: otelcol-contrib + - id: otelcol-contrib-pie goos: - darwin - linux diff --git a/distributions/otelcol-k8s/.goreleaser.yaml b/distributions/otelcol-k8s/.goreleaser.yaml index 18ff6438..a74164e3 100644 --- a/distributions/otelcol-k8s/.goreleaser.yaml +++ b/distributions/otelcol-k8s/.goreleaser.yaml @@ -5,7 +5,7 @@ project_name: opentelemetry-collector-releases env: - COSIGN_YES=true builds: - - id: otelcol-k8s + - id: otelcol-k8s-pie goos: - linux goarch: diff --git a/distributions/otelcol-otlp/.goreleaser.yaml b/distributions/otelcol-otlp/.goreleaser.yaml index 54e1f408..88b93691 100644 --- a/distributions/otelcol-otlp/.goreleaser.yaml +++ b/distributions/otelcol-otlp/.goreleaser.yaml @@ -11,7 +11,7 @@ msi: extra_files: - opentelemetry.ico builds: - - id: otelcol-otlp + - id: otelcol-otlp-pie goos: - darwin - linux diff --git a/distributions/otelcol/.goreleaser.yaml b/distributions/otelcol/.goreleaser.yaml index 1481e135..0f692ff8 100644 --- a/distributions/otelcol/.goreleaser.yaml +++ b/distributions/otelcol/.goreleaser.yaml @@ -12,7 +12,7 @@ msi: - opentelemetry.ico - config.yaml builds: - - id: otelcol + - id: otelcol-pie goos: - darwin - linux