Skip to content

Commit 986c4c6

Browse files
committed
Add goos and goarch to release
1 parent 8e5646a commit 986c4c6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.goreleaser.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ builds:
88
- -trimpath
99
ldflags:
1010
- '-s -w -X main.version={{.Version}} -X main.commit={{.Commit}}'
11+
goos:
12+
- freebsd
13+
- windows
14+
- linux
15+
- darwin
16+
goarch:
17+
- amd64
18+
- '386'
19+
- arm
20+
- arm64
1121
binary: '{{ .ProjectName }}'
1222
archives:
1323
- format: zip

0 commit comments

Comments
 (0)