Skip to content

Commit

Permalink
add trimpath to suppress build machine paths in backtraces [#52]
Browse files Browse the repository at this point in the history
  • Loading branch information
bdon committed May 8, 2023
1 parent c4f9d44 commit d335f16
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ builds:
id: go-pmtiles
env:
- CGO_ENABLED=0
flags:
- -trimpath
goos:
- linux
- windows
Expand All @@ -17,6 +19,8 @@ builds:
id: pmtiles-macos-amd64
env:
- CGO_ENABLED=0
flags:
- -trimpath
goos:
- darwin
goarch:
Expand All @@ -29,6 +33,8 @@ builds:
id: pmtiles-macos-arm64
env:
- CGO_ENABLED=0
flags:
- -trimpath
goos:
- darwin
goarch:
Expand Down

0 comments on commit d335f16

Please sign in to comment.