Skip to content

Commit

Permalink
release: add goreleaser.yml for windows builds
Browse files Browse the repository at this point in the history
  • Loading branch information
ycd committed Jan 20, 2021
1 parent 8ad91b4 commit bf58cf2
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
env:
- GO111MODULE=on
- GOPROXY=https://goproxy.io

before:
hooks:
- go mod download

builds:
- env:
- CGO_ENABLED=0
goos:
- darwin
- linux
- windows
goarch:
- 386
- amd64

archives:
- replacements:
386: i386
amd64: x86_64
format_overrides:
- goos: windows
format: zip
files:
- LICENSE
- README.md
- CHANGELOG.md

checksum:
name_template: "checksums.txt"

0 comments on commit bf58cf2

Please sign in to comment.