File tree Expand file tree Collapse file tree 1 file changed +29
-16
lines changed Expand file tree Collapse file tree 1 file changed +29
-16
lines changed Original file line number Diff line number Diff line change @@ -3,27 +3,40 @@ version: 2
33before :
44 hooks :
55 - go mod download
6-
6+ builds :
7+ - env :
8+ - CGO_ENABLED=0
9+ goarch :
10+ - 386
11+ - amd64
12+ - arm
13+ - arm64
14+ - riscv64
15+ goos :
16+ - linux
17+ ldflags :
18+ - >-
19+ -s -w
20+ -X github.com/NETWAYS/check_system_basics/cmd.version={{.Version}}
721release :
8- github :
922 draft : true
23+ github :
24+ owner : NETWAYS
25+ name : check_system_basics
26+ archives :
27+ - formats : [ binary ]
28+ name_template : >-
29+ {{ .ProjectName }}_{{ .Tag }}_
30+ {{- if eq .Os "linux" }}Linux{{ end }}
31+ {{- if eq .Arch "amd64" }}_x86_64{{ end }}
32+ {{- if eq .Arch "arm64" }}_arm64{{ end }}
33+ checksum :
34+ name_template : ' checksums.txt'
35+ snapshot :
36+ version_template : ' {{ .Tag }}-SNAPSHOT-{{.ShortCommit}}'
1037changelog :
1138 sort : asc
1239 filters :
1340 exclude :
1441 - ' ^docs:'
1542 - ' ^test:'
16-
17- builds :
18- - env :
19- - CGO_ENABLED=0
20- goos :
21- - linux
22- goarch :
23- - arm
24- - arm64
25- - amd64
26- - 386
27- - riscv64
28- ldflags :
29- - -X github.com/NETWAYS/check_system_basics/cmd.version={{.Version}}
You can’t perform that action at this time.
0 commit comments