Skip to content

Commit

Permalink
Fixed package building: use CGO, build only for amd64
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavel Parshin committed Jan 28, 2021
1 parent 5cfdd01 commit 9ee9890
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,17 @@ before:

builds:
- env:
- CGO_ENABLED=0
- CGO_ENABLED=1
main: ./cmd/qumomf/main.go
ldflags:
- -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.buildDate={{.Date}}
goarch:
- amd64
goos:
- linux

archives:
- replacements:
darwin: Darwin
linux: Linux
386: i386
amd64: x86_64
files:
- files:
- LICENSE
- README.md
- config/*
Expand Down

0 comments on commit 9ee9890

Please sign in to comment.