File tree 1 file changed +29
-16
lines changed
1 file changed +29
-16
lines changed Original file line number Diff line number Diff line change @@ -3,27 +3,40 @@ version: 2
3
3
before :
4
4
hooks :
5
5
- 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}}
7
21
release :
8
- github :
9
22
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}}'
10
37
changelog :
11
38
sort : asc
12
39
filters :
13
40
exclude :
14
41
- ' ^docs:'
15
42
- ' ^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