Skip to content

Commit

Permalink
Disable CGO for goreleaser builds
Browse files Browse the repository at this point in the history
  • Loading branch information
muesli committed Nov 7, 2020
1 parent 562038d commit 8404cea
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 @@ -5,6 +5,8 @@ before:
- go mod download
builds:
- id: "mastotool"
env:
- CGO_ENABLED=0
binary: mastotool
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
goos:
Expand Down

0 comments on commit 8404cea

Please sign in to comment.