File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # Added by goreleaser init:
2+ dist /
Original file line number Diff line number Diff line change 1+ # This is an example .goreleaser.yml file with some sensible defaults.
2+ # Make sure to check the documentation at https://goreleaser.com
3+
4+ # The lines below are called `modelines`. See `:help modeline`
5+ # Feel free to remove those if you don't want/need to use them.
6+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
7+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
8+
9+ version : 2
10+
11+ before :
12+ hooks :
13+ # You may remove this if you don't use go modules.
14+ - go mod tidy
15+ # you may remove this if you don't need go generate
16+ - go generate ./...
17+
18+ builds :
19+
20+ - env :
21+ - CGO_ENABLED=0
22+ id : kube-bench-report
23+ binary : kube-bench-report
24+ goos :
25+ - linux
26+ - windows
27+ - darwin
28+ goarch :
29+ - amd64
30+ - arm64
31+
32+ archives :
33+ - formats : [tar.gz]
34+ # this name template makes the OS and Arch compatible with the results of `uname`.
35+ name_template : >-
36+ {{ .Binary }}_
37+ {{- title .Os }}_
38+ {{- if eq .Arch "amd64" }}x86_64
39+ {{- else if eq .Arch "386" }}i386
40+ {{- else }}{{ .Arch }}{{ end }}
41+ {{- if .Arm }}v{{ .Arm }}{{ end }}
42+ # use zip for windows archives
43+ format_overrides :
44+ - goos : windows
45+ formats : [zip]
46+
47+ changelog :
48+ sort : asc
49+ filters :
50+ exclude :
51+ - " ^docs:"
52+ - " ^test:"
53+
54+ release :
55+ footer : >-
56+
57+ ---
58+
59+ Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
You can’t perform that action at this time.
0 commit comments