Skip to content

Commit

Permalink
Fix NFPMs build
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascamata committed Jan 14, 2025
1 parent 7076332 commit 13c8488
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cmd/goreleaser/internal/configure.go
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ func (b *distributionBuilder) newNfpms(dist string) []config.NFPM {
return []config.NFPM{
{
ID: dist,
Builds: []string{dist},
Builds: []string{dist + "-linux"},
Formats: []string{"deb", "rpm"},
License: "Apache 2.0",
Description: fmt.Sprintf("OpenTelemetry Collector - %s", dist),
Expand Down
2 changes: 1 addition & 1 deletion distributions/otelcol-contrib/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ nfpms:
- /bin/sh
id: otelcol-contrib
builds:
- otelcol-contrib
- otelcol-contrib-linux
formats:
- deb
- rpm
Expand Down
2 changes: 1 addition & 1 deletion distributions/otelcol-otlp/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ nfpms:
- /bin/sh
id: otelcol-otlp
builds:
- otelcol-otlp
- otelcol-otlp-linux
formats:
- deb
- rpm
Expand Down
2 changes: 1 addition & 1 deletion distributions/otelcol/.goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ nfpms:
- /bin/sh
id: otelcol
builds:
- otelcol
- otelcol-linux
formats:
- deb
- rpm
Expand Down

0 comments on commit 13c8488

Please sign in to comment.