-
Notifications
You must be signed in to change notification settings - Fork 7
/
.goreleaser.yaml
84 lines (80 loc) · 2.16 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
before:
hooks:
- go mod tidy
builds:
- id: murmur
binary: murmur
env: [CGO_ENABLED=0]
goos: [linux, windows, darwin]
main: ./
# The project was renamed "murmur" in May 2023. For backwards compatibility,
# we continue to publish artifacts named "whisper".
- id: whisper
binary: whisper
env: [CGO_ENABLED=0]
goos: [linux, windows, darwin]
main: ./
archives:
- id: murmur
builds: [murmur]
name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
# The project was renamed "murmur" in May 2023. For backwards compatibility,
# we continue to publish artifacts named "whisper".
- id: whisper
builds: [whisper]
name_template: >-
whisper_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
format_overrides:
- goos: windows
format: zip
dockers:
- id: murmur
ids: [murmur]
build_flag_templates:
- --build-arg=BINARY=murmur
- --platform=linux/amd64
image_templates:
- ghcr.io/busser/murmur:{{ .Tag }}
- ghcr.io/busser/murmur:v{{ .Major }}.{{ .Minor }}
- ghcr.io/busser/murmur:v{{ .Major }}
- ghcr.io/busser/murmur:latest
# The project was renamed "murmur" in May 2023. For backwards compatibility,
# we continue to publish artifacts named "whisper".
- id: whisper
ids: [whisper]
build_flag_templates:
- --build-arg=BINARY=whisper
- --platform=linux/amd64
image_templates:
- ghcr.io/busser/whisper:{{ .Tag }}
- ghcr.io/busser/whisper:v{{ .Major }}.{{ .Minor }}
- ghcr.io/busser/whisper:v{{ .Major }}
- ghcr.io/busser/whisper:latest
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^chore:"
- '^chore\(deps\):'
- "^docs:"
- '^fix\(deps\):'
- "^refactor:"
- "^test:"