Skip to content

Commit bf58cf2

Browse files
committed
release: add goreleaser.yml for windows builds
1 parent 8ad91b4 commit bf58cf2

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.goreleaser.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
env:
2+
- GO111MODULE=on
3+
- GOPROXY=https://goproxy.io
4+
5+
before:
6+
hooks:
7+
- go mod download
8+
9+
builds:
10+
- env:
11+
- CGO_ENABLED=0
12+
goos:
13+
- darwin
14+
- linux
15+
- windows
16+
goarch:
17+
- 386
18+
- amd64
19+
20+
archives:
21+
- replacements:
22+
386: i386
23+
amd64: x86_64
24+
format_overrides:
25+
- goos: windows
26+
format: zip
27+
files:
28+
- LICENSE
29+
- README.md
30+
- CHANGELOG.md
31+
32+
checksum:
33+
name_template: "checksums.txt"

0 commit comments

Comments
 (0)