Skip to content

Commit

Permalink
add windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
fredericosilva committed Jul 7, 2019
1 parent c2b8a91 commit 06d1b2c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .goreleaser.yml
Expand Up @@ -3,13 +3,18 @@
before:
hooks:
# you may remove this if you don't use vgo
- go mod download
# - go mod download
# you may remove this if you don't need go generate
- go generate ./...
builds:
-
env:
- CGO_ENABLED=0
- GO111MODULE=off
goos:
- linux
- darwin
- windows
goarch:
- amd64

Expand All @@ -20,6 +25,7 @@ builds:

archives:
- format: zip
name_template: "{{ .ProjectName }}-{{ .Os }}_{{ .Arch }}"
checksum:
name_template: 'checksums.txt'
snapshot:
Expand Down

0 comments on commit 06d1b2c

Please sign in to comment.