Skip to content

Commit

Permalink
set flag netgo tags
Browse files Browse the repository at this point in the history
Signed-off-by: Avelino <t@avelino.xxx>
  • Loading branch information
avelino committed Aug 16, 2020
1 parent 86b6400 commit 687c2c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .goreleaser.yml
Expand Up @@ -3,7 +3,7 @@ builds:
main: ./cmd/prestd/main.go
mod_timestamp: '{{ .CommitTimestamp }}'
flags:
- -trimpath
- -trimpath --tags netgo
ldflags:
- -s -w -linkmode external -extldflags "-static" -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{ .CommitDate }} -X main.builtBy=goreleaser
goos:
Expand Down

0 comments on commit 687c2c0

Please sign in to comment.