Skip to content

Commit

Permalink
Fix the ldflages issue in go releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
ragul28 committed Nov 14, 2021
1 parent a5a0e7a commit 8d3e9fd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ project_name: kafka-cli
builds:
- binary: kafka-cli
flags:
- -mod=vendor -ldflags="-s -w"
- -mod=vendor
ldflags:
- -s -w
goos:
- linux
goarch:
Expand Down

0 comments on commit 8d3e9fd

Please sign in to comment.