Skip to content

Commit

Permalink
line breaks
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wiesinger <[email protected]>
  • Loading branch information
mowies committed Nov 28, 2024
1 parent 4a47ab8 commit 64968de
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion cmd/goreleaser/internal/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,13 @@ 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 }}{{ with .I386 }}_{{ . }}{{ end }}{{ with .Arm64 }}_{{ . }}{{ 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,
Expand Down

0 comments on commit 64968de

Please sign in to comment.