Skip to content

Commit

Permalink
Merge pull request #174 from ans-group/add-trimpath-flag
Browse files Browse the repository at this point in the history
Use -trimpath for releases
  • Loading branch information
Xiol authored Jan 1, 2024
2 parents 8f26a44 + 08e0662 commit fe295ad
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 fe295ad

Please sign in to comment.