Skip to content

Commit

Permalink
Add ldflags to gorelease build
Browse files Browse the repository at this point in the history
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>
  • Loading branch information
vdemeester committed Jan 26, 2024
1 parent 72a16bd commit 568799c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
builds:
- main: .
binary: catalog-cd
ldflags:
- -s -w -X internal.cmd.Version={{.Version}}
env:
- CGO_ENABLED=0
flags:
Expand Down

0 comments on commit 568799c

Please sign in to comment.