Skip to content

Commit

Permalink
goreleaser: Set correct overrides in linker flags
Browse files Browse the repository at this point in the history
We do not use github.com/metal-toolbox/version, instead we have a simple
internal package.
  • Loading branch information
mmlb committed Jun 19, 2024
1 parent 5156663 commit 94459cf
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,7 @@ builds:
- "7"
ldflags:
- -s -w
- -X github.com/metal-toolbox/version.appName={{.ProjectName}}
- -X github.com/metal-toolbox/version.version={{.Summary}}
- -X github.com/metal-toolbox/version.commit={{.Commit}}
- -X github.com/metal-toolbox/version.date={{.Date}}
- -X github.com/metal-toolbox/version.builtBy=goreleaser
- -X github.com/metal-toolbox/vogelkop/internal/version.version={{.Summary}}

dockers:
- use: buildx
Expand Down

0 comments on commit 94459cf

Please sign in to comment.