mirror of https://github.com/muesli/mastotool
Disable CGO for goreleaser builds
This commit is contained in:
parent
562038db56
commit
8404cea804
|
@ -5,6 +5,8 @@ before:
|
||||||
- go mod download
|
- go mod download
|
||||||
builds:
|
builds:
|
||||||
- id: "mastotool"
|
- id: "mastotool"
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
||||||
binary: mastotool
|
binary: mastotool
|
||||||
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
|
ldflags: -s -w -X main.Version={{ .Version }} -X main.CommitSHA={{ .Commit }}
|
||||||
goos:
|
goos:
|
||||||
|
|
Loading…
Reference in New Issue