File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,22 +4,39 @@ before:
44 hooks :
55 - go mod download
66builds :
7- - goos :
7+ - env :
8+ - CGO_ENABLED=0
9+ goarch :
10+ - amd64
11+ - arm64
12+ goos :
813 - linux
914 - windows
1015 - darwin
11- env :
12- - CGO_ENABLED=0
16+ ldflags :
17+ - >-
18+ -s -w -X main.version={{.Version}}
19+ -X main.commit={{.Commit}}
20+ -X main.date={{.CommitDate}}
1321release :
22+ draft : true
1423 github :
15- owner : Icinga
24+ owner : NETWAYS
1625 name : check_by_powershell
1726archives :
18- - format : binary
27+ - formats :
28+ - binary
29+ name_template : >-
30+ {{ .ProjectName }}_{{ .Tag }}_
31+ {{- if eq .Os "linux" }}Linux{{ end }}
32+ {{- if eq .Os "windows" }}Windows{{ end }}
33+ {{- if eq .Os "darwin" }}Darwin{{ end }}
34+ {{- if eq .Arch "amd64" }}_x86_64{{ end }}
35+ {{- if eq .Arch "arm64" }}_arm64{{ end }}
1936checksum :
2037 name_template : ' checksums.txt'
2138snapshot :
22- name_template : ' {{ .Tag }}-SNAPSHOT-{{.ShortCommit}}'
39+ version_template : ' {{ .Tag }}-SNAPSHOT-{{.ShortCommit}}'
2340changelog :
2441 sort : asc
2542 filters :
You can’t perform that action at this time.
0 commit comments