Skip to content

Commit 06d1b2c

Browse files
add windows support
1 parent c2b8a91 commit 06d1b2c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.goreleaser.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,18 @@
33
before:
44
hooks:
55
# you may remove this if you don't use vgo
6-
- go mod download
6+
# - go mod download
77
# you may remove this if you don't need go generate
88
- go generate ./...
99
builds:
1010
-
1111
env:
1212
- CGO_ENABLED=0
13+
- GO111MODULE=off
14+
goos:
15+
- linux
16+
- darwin
17+
- windows
1318
goarch:
1419
- amd64
1520

@@ -20,6 +25,7 @@ builds:
2025

2126
archives:
2227
- format: zip
28+
name_template: "{{ .ProjectName }}-{{ .Os }}_{{ .Arch }}"
2329
checksum:
2430
name_template: 'checksums.txt'
2531
snapshot:

0 commit comments

Comments
 (0)