Skip to content

Commit

Permalink
add: build to arm and 32 bit.
Browse files Browse the repository at this point in the history
  • Loading branch information
melbahja committed Sep 19, 2020
1 parent 615ad43 commit 37e59cf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,28 @@ project_name: got
before:
hooks:
- go mod download
- go mod tidy
builds:
-
env:
- CGO_ENABLED=0
dir: cmd/got
ldflags:
- -X main.version={{.Version}}+{{.ShortCommit}}
- -s -w -X main.version={{.Version}}+{{.ShortCommit}}
goos:
- linux
- darwin
- freebsd
- windows
goarch:
- amd64
- arm64
- arm
- 386

archives:
- replacements:
386: 32bit
darwin: Darwin
linux: Linux
freebsd: Freebsd
Expand Down

0 comments on commit 37e59cf

Please sign in to comment.