From 4a47ab88b940121c8c4d0879204c071c4acc9e18 Mon Sep 17 00:00:00 2001 From: Moritz Wiesinger Date: Thu, 28 Nov 2024 13:48:07 +0100 Subject: [PATCH] adapt goreleaser generator Signed-off-by: Moritz Wiesinger --- cmd/goreleaser/internal/configure.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/goreleaser/internal/configure.go b/cmd/goreleaser/internal/configure.go index a83fd71a..bafd7c53 100644 --- a/cmd/goreleaser/internal/configure.go +++ b/cmd/goreleaser/internal/configure.go @@ -101,7 +101,7 @@ func Build(dist string, buildOrRest bool) config.Build { ID: dist, Builder: "prebuilt", PreBuilt: config.PreBuiltOptions{ - Path: "artifacts/otelcol-contrib_{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ . }}{{ end }}{{ with .Arm }}_{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}/otelcol-contrib{{- if eq .Os \"windows\" }}.exe{{ end }}", + Path: "artifacts/otelcol-contrib_{{ .Os }}_{{ .Arch }}{{ with .Amd64 }}_{{ . }}{{ end }}{{ with .Arm }}_{{ . }}{{ end }}{{ with .Mips }}_{{ . }}{{ end }}{{ with .I386 }}_{{ . }}{{ end }}{{ with .Arm64 }}_{{ . }}{{ end }}/otelcol-contrib{{- if eq .Os \"windows\" }}.exe{{ end }}", }, Goos: goos, Goarch: archs,