File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -105,3 +105,5 @@ go.work
105105# Build
106106codemaker
107107codemaker-cli
108+
109+ 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+ before :
4+ hooks :
5+ # You may remove this if you don't use go modules.
6+ - go mod tidy
7+ # you may remove this if you don't need go generate
8+ - go generate ./...
9+ builds :
10+ - env :
11+ - CGO_ENABLED=0
12+ goos :
13+ - linux
14+ - windows
15+ - darwin
16+ goarch :
17+ - amd64
18+ - arm64
19+
20+ archives :
21+ - format : tar.gz
22+ # this name template makes the OS and Arch compatible with the results of uname.
23+ name_template : >-
24+ {{ .ProjectName }}_
25+ {{- title .Os }}_
26+ {{- if eq .Arch "amd64" }}x86_64
27+ {{- else if eq .Arch "386" }}i386
28+ {{- else }}{{ .Arch }}{{ end }}
29+ {{- if .Arm }}v{{ .Arm }}{{ end }}
30+ # use zip for windows archives
31+ format_overrides :
32+ - goos : windows
33+ format : zip
34+ checksum :
35+ name_template : ' checksums.txt'
36+ snapshot :
37+ name_template : " {{ incpatch .Version }}-snapshot"
38+ changelog :
39+ sort : asc
40+ filters :
41+ exclude :
42+ - ' ^docs:'
43+ - ' ^test:'
44+
45+ # The lines beneath this are called `modelines`. See `:help modeline`
46+ # Feel free to remove those if you don't want/use them.
47+ # yaml-language-server: $schema=https://goreleaser.com/static/schema.json
48+ # vim: set ts=2 sw=2 tw=0 fo=cnqoj
You can’t perform that action at this time.
0 commit comments