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