Skip to content

Commit

Permalink
Use -trimpath tool flag
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmacdonald committed Mar 23, 2024
1 parent 8b5a93e commit fa1742b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ builds:
- windows
ldflags:
- -s -w -X main.version={{.Version}}
gcflags:
- all=-trimpath={{.Env.GOPATH}}
flags:
- -trimpath
main:
./cmd/tf2bdd
id: tf2bdd
Expand Down

0 comments on commit fa1742b

Please sign in to comment.