Skip to content

Commit

Permalink
Add goos and goarch to release
Browse files Browse the repository at this point in the history
  • Loading branch information
paultyng committed Oct 28, 2020
1 parent 8e5646a commit 986c4c6
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ builds:
- -trimpath
ldflags:
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
goos:
- freebsd
- windows
- linux
- darwin
goarch:
- amd64
- '386'
- arm
- arm64
binary: '{{ .ProjectName }}'
archives:
- format: zip
Expand Down

0 comments on commit 986c4c6

Please sign in to comment.