-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.goreleaser.yml
More file actions
34 lines (34 loc) · 780 Bytes
/
Copy path.goreleaser.yml
File metadata and controls
34 lines (34 loc) · 780 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
before:
hooks:
- go mod download
- go generate ./...
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -s -w -X github.com/yuyicai/kubei/cmd/version.gitVersion={{.Version}}
-X github.com/yuyicai/kubei/cmd/version.gitCommit={{.Commit}}
-X github.com/yuyicai/kubei/cmd/version.buildDate={{.Date}}
-X github.com/yuyicai/kubei/cmd/version.gitMajor={{.Major}}
-X github.com/yuyicai/kubei/cmd/version.gitMinor={{.Minor}}
-X github.com/yuyicai/kubei/cmd/version.gitURL={{.GitURL}}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
- '^Merge'
- 'yml$'
- 'yaml$'