File tree Expand file tree Collapse file tree 1 file changed +38
-0
lines changed Expand file tree Collapse file tree 1 file changed +38
-0
lines changed 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+ - echo "{{.Env.LDFLAGS}}"
10+ builds :
11+ - main : ./main.go
12+ id : clusterctl
13+ binary : clusterctl
14+ ldflags :
15+ - " {{.Env.LDFLAGS}}"
16+ env :
17+ - CGO_ENABLED=0
18+ goos :
19+ - linux
20+ - windows
21+ - darwin
22+ archives :
23+ - replacements :
24+ darwin : Darwin
25+ linux : Linux
26+ windows : Windows
27+ 386 : i386
28+ amd64 : x86_64
29+ checksum :
30+ name_template : ' checksums.txt'
31+ snapshot :
32+ name_template : " {{ incpatch .Version }}-next"
33+ changelog :
34+ sort : asc
35+ filters :
36+ exclude :
37+ - ' ^docs:'
38+ - ' ^test:'
You can’t perform that action at this time.
0 commit comments