File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change @@ -32,3 +32,5 @@ go.work.sum
3232# .vscode/
3333
3434custom-completion-zsh
35+ # Added by goreleaser init:
36+ 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+ # The lines below are called `modelines`. See `:help modeline`
4+ # Feel free to remove those if you don't want/need to use them.
5+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
6+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
7+ version : 2
8+ before :
9+ hooks :
10+ # You may remove this if you don't use go modules.
11+ - go mod tidy
12+ # you may remove this if you don't need go generate
13+ - go generate ./...
14+ builds :
15+ - env :
16+ - CGO_ENABLED=0
17+ goos :
18+ - linux
19+ archives :
20+ - formats : [tar.gz]
21+ # this name template makes the OS and Arch compatible with the results of `uname`.
22+ name_template : >-
23+ {{ .ProjectName }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}amd64 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }}
24+ # use zip for windows archives
25+ format_overrides :
26+ - goos : windows
27+ formats : [zip]
28+ changelog :
29+ sort : asc
30+ filters :
31+ exclude :
32+ - " ^docs:"
33+ - " ^test:"
34+ release :
35+ footer : >-
36+ ---
37+
38+ Released by [GoReleaser](https://github.com/goreleaser/goreleaser).
You can’t perform that action at this time.
0 commit comments