Skip to content

Commit

Permalink
Use -trimpath for releases
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiol committed Nov 20, 2023
1 parent 0120b67 commit 08e0662
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
Expand Up @@ -2,6 +2,8 @@ project_name: ans
builds:
- env:
- CGO_ENABLED=0
flags:
- -trimpath
ldflags:
- -s -X main.VERSION={{.Version}} -X main.BUILDDATE={{.Date}}
goos:
Expand Down

0 comments on commit 08e0662

Please sign in to comment.