Skip to content

Commit 37e59cf

Browse files
committed
add: build to arm and 32 bit.
1 parent 615ad43 commit 37e59cf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.goreleaser.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,28 @@ project_name: got
22
before:
33
hooks:
44
- go mod download
5+
- go mod tidy
56
builds:
67
-
78
env:
89
- CGO_ENABLED=0
910
dir: cmd/got
1011
ldflags:
11-
- -X main.version={{.Version}}+{{.ShortCommit}}
12+
- -s -w -X main.version={{.Version}}+{{.ShortCommit}}
1213
goos:
1314
- linux
1415
- darwin
1516
- freebsd
1617
- windows
1718
goarch:
1819
- amd64
20+
- arm64
21+
- arm
22+
- 386
1923

2024
archives:
2125
- replacements:
26+
386: 32bit
2227
darwin: Darwin
2328
linux: Linux
2429
freebsd: Freebsd

0 commit comments

Comments
 (0)