Skip to content

Commit 163a32a

Browse files
committed
line breaks
Signed-off-by: Moritz Wiesinger <[email protected]>
1 parent cf583ef commit 163a32a

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cmd/goreleaser/internal/configure.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,13 @@ func Build(dist string, buildOrRest bool) config.Build {
101101
ID: dist,
102102
Builder: "prebuilt",
103103
PreBuilt: config.PreBuiltOptions{
104-
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 }}",
104+
Path: "artifacts/otelcol-contrib_{{ .Os }}_{{ .Arch }}" +
105+
"{{ with .Amd64 }}_{{ . }}{{ end }}" +
106+
"{{ with .Arm }}_{{ . }}{{ end }}" +
107+
"{{ with .Mips }}_{{ . }}{{ end }}" +
108+
"{{ with .I386 }}_{{ . }}{{ end }}" +
109+
"{{ with .Arm64 }}_{{ . }}{{ end }}" +
110+
"/otelcol-contrib{{- if eq .Os \"windows\" }}.exe{{ end }}",
105111
},
106112
Goos: goos,
107113
Goarch: archs,

0 commit comments

Comments
 (0)