Disable CGO for goreleaser builds

This commit is contained in:
Christian Muehlhaeuser 2020-11-07 06:14:16 +01:00
parent 562038db56
commit 8404cea804
No known key found for this signature in database
GPG Key ID: 3CF9FA45CA1EBB7E
1 changed files with 2 additions and 0 deletions

View File

@ -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: