File tree Expand file tree Collapse file tree 1 file changed +74
-4
lines changed Expand file tree Collapse file tree 1 file changed +74
-4
lines changed Original file line number Diff line number Diff line change @@ -5,11 +5,81 @@ before:
55 - go mod tidy
66
77builds :
8- - env :
8+ - id : darwin-amd64
9+ main : ./
10+ binary : golang-cross
11+ goos :
12+ - darwin
13+ goarch :
14+ - amd64
15+ env :
916 - CGO_ENABLED=1
17+ - CC=o64-clang
18+ - CXX=o64-clang++
19+ flags :
20+ - -mod=readonly
21+ ldflags :
22+ - -s -w -X main.version={{.Version}}
23+ - id : linux-arm64
24+ main : ./
25+ binary : golang-cross
1026 goos :
1127 - linux
12- - darwin
28+ goarch :
29+ - arm64
30+ env :
31+ - CGO_ENABLED=1
32+ - CC=aarch64-linux-gnu-gcc
33+ - CXX=aarch64-linux-gnu-g++
34+ flags :
35+ - -mod=readonly
36+ ldflags :
37+ - -s -w -X main.version={{.Version}}
38+ - id : linux-amd64
39+ main : ./
40+ binary : golang-cross
41+ goos :
42+ - linux
43+ goarch :
44+ - amd64
45+ env :
46+ - CGO_ENABLED=1
47+ - CC=x86_64-linux-gnu-gcc
48+ - CXX=x86_64-linux-gnu-g++
49+ flags :
50+ - -mod=readonly
51+ ldflags :
52+ - -s -w -X main.version={{.Version}}
53+ - id : windows-amd64
54+ main : ./
55+ binary : golang-cross
56+ goos :
57+ - windows
58+ goarch :
59+ - amd64
60+ env :
61+ - CGO_ENABLED=1
62+ - CC=x86_64-w64-mingw32-gcc
63+ - CXX=x86_64-w64-mingw32-g++
64+ flags :
65+ - -mod=readonly
66+ ldflags :
67+ - -s -w -X main.version={{.Version}}
68+ - id : windows-arm64
69+ main : ./
70+ binary : golang-cross
71+ goos :
72+ - windows
73+ goarch :
74+ - arm64
75+ env :
76+ - CGO_ENABLED=1
77+ - CC=/llvm-mingw/bin/aarch64-w64-mingw32-gcc
78+ - CXX=/llvm-mingw/bin/aarch64-w64-mingw32-g++
79+ flags :
80+ - -mod=readonly
81+ ldflags :
82+ - -s -w -X main.version={{.Version}}
1383
1484dockers :
1585 - ids : [ catalyst ]
@@ -22,7 +92,7 @@ dockers:
2292 - docker/entrypoint.sh
2393
2494archives :
25- - format : tar.gz
95+ - formats : tar.gz
2696 # this name template makes the OS and Arch compatible with the results of `uname`.
2797 name_template : >-
2898 {{ .ProjectName }}_
@@ -34,7 +104,7 @@ archives:
34104 # use zip for windows archives
35105 format_overrides :
36106 - goos : windows
37- format : zip
107+ formats : zip
38108
39109changelog :
40110 sort : asc
You can’t perform that action at this time.
0 commit comments