Skip to content

Commit

Permalink
Disable CGO for goreleaser builds
Browse files Browse the repository at this point in the history
muesli committed Nov 7, 2020

Verified

This commit was signed with the committer’s verified signature. The key has expired.
muesli Christian Muehlhaeuser
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
@@ -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:

0 comments on commit 8404cea

Please sign in to comment.