Skip to content

Commit

Permalink
fix: goreleaser 显示声明 CGO_ENABLED=0
Browse files Browse the repository at this point in the history
  • Loading branch information
wanghe-fit2cloud committed Jun 16, 2023
1 parent 3ead633 commit 6a63b2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ builds:
- -trimpath
ldflags:
- -w -s
env:
- CGO_ENABLED=0
goos:
- linux
goarm:
Expand Down

0 comments on commit 6a63b2e

Please sign in to comment.