forked from koordinator-sh/koordinator
-
Notifications
You must be signed in to change notification settings - Fork 2
/
.goreleaser.yaml
48 lines (48 loc) · 1.26 KB
/
.goreleaser.yaml
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
project_name: koordinator-sh
env:
- GIT_URL=https://github.com/koordinator-sh/koordinator
before:
hooks:
- go mod tidy
builds:
- id: koord-runtime-proxy
env:
- CGO_ENABLED=0
goos:
- linux
goarch:
- amd64
main: ./cmd/koord-runtime-proxy
binary: koord-runtime-proxy
ldflags:
- -s -w
- -X github.com/koordinator-sh/koordinator/pkg/version.version={{ .Version }}
- -X github.com/koordinator-sh/koordinator/pkg/version.buildDate={{ .Date }}
- -X github.com/koordinator-sh/koordinator/pkg/version.gitCommit={{ .Commit }}
- -X github.com/koordinator-sh/koordinator/pkg/version.gitTreeState=clean
archives:
- id: koord-runtime-proxy
format: binary
builds:
- koord-runtime-proxy
# Default template: https://goreleaser.com/customization/archive/
name_template: >-
{{ .Binary }}_
{{ .Version }}_
{{ .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else }}{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ end }}
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
sort: asc
filters:
exclude:
- '^build:'
- '^ci:'
- '^docs:'
- '^test:'
- '^chore:'
- '^feat(deps):'