File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11before :
22 hooks :
33 - go mod download
4+ # Separate builds per target so CC/CXX are correct in goreleaser-cross (avoids aarch64-gcc being used for linux/amd64).
45builds :
5- - env :
6+ - id : darwin-amd64
7+ env :
68 - CGO_ENABLED=1
7- goos :
8- - darwin
9- - linux
10- # - windows
11- goarch :
12- - amd64
13- - arm64
9+ goos : [darwin]
10+ goarch : [amd64]
11+ binary : brev
12+ ldflags :
13+ - -X github.com/brevdev/brev-cli/pkg/cmd/version.Version={{.Tag}}
14+ - id : darwin-arm64
15+ env :
16+ - CGO_ENABLED=1
17+ goos : [darwin]
18+ goarch : [arm64]
19+ binary : brev
20+ ldflags :
21+ - -X github.com/brevdev/brev-cli/pkg/cmd/version.Version={{.Tag}}
22+ - id : linux-amd64
23+ env :
24+ - CGO_ENABLED=1
25+ - CC=x86_64-linux-gnu-gcc
26+ - CXX=x86_64-linux-gnu-g++
27+ goos : [linux]
28+ goarch : [amd64]
29+ binary : brev
30+ ldflags :
31+ - -X github.com/brevdev/brev-cli/pkg/cmd/version.Version={{.Tag}}
32+ - id : linux-arm64
33+ env :
34+ - CGO_ENABLED=1
35+ - CC=aarch64-linux-gnu-gcc
36+ - CXX=aarch64-linux-gnu-g++
37+ goos : [linux]
38+ goarch : [arm64]
1439 binary : brev
1540 ldflags :
1641 - -X github.com/brevdev/brev-cli/pkg/cmd/version.Version={{.Tag}}
1742
1843brews :
1944 - name : brev
20- folder : Formula
45+ directory : Formula
2146 # GitHub/GitLab repository to push the formula to
2247 repository :
2348 owner : brevdev
@@ -37,9 +62,11 @@ brews:
3762archives :
3863 - format_overrides :
3964 - goos : windows
40- format : zip
65+ formats : [ zip]
4166release :
4267 github :
68+ owner : brevdev
69+ name : brev-cli
4370 prerelease : auto
4471# dockers:
4572# - image_templates:
You can’t perform that action at this time.
0 commit comments