Skip to content

Commit 8977eff

Browse files
authored
Add binaries for Windows (#235)
1 parent 632b19c commit 8977eff

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.goreleaser.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
before:
22
hooks:
3-
- make clean
43
- go mod tidy
54
- go mod verify
65
builds:
@@ -9,6 +8,7 @@ builds:
98
goos:
109
- linux
1110
- darwin
11+
- windows
1212
goarch:
1313
- 386
1414
- amd64
@@ -23,12 +23,19 @@ builds:
2323
- 7
2424
gomips:
2525
- softfloat
26+
ignore:
27+
- goos: windows
28+
goarch: arm
2629
flags:
2730
- -trimpath
2831
gcflags:
2932
- all=-trimpath={{.Env.GOPATH}}
3033
asmflags:
3134
- all=-trimpath={{.Env.GOPATH}}
35+
archives:
36+
- format_overrides:
37+
- goos: windows
38+
format: zip
3239
checksum:
3340
name_template: 'sha256sums.txt'
3441
changelog:

0 commit comments

Comments
 (0)