forked from FoundationDB/fdb-kubernetes-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.goreleaser.yaml
34 lines (34 loc) · 833 Bytes
/
.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
before:
hooks:
- go mod tidy
builds:
- id: kubectl-fdb
goos:
- linux
- windows
- darwin
main: ./kubectl-fdb
binary: kubectl-fdb
ldflags:
- -s -w -X github.com/FoundationDB/fdb-kubernetes-operator/kubectl-fdb/cmd.pluginVersion={{.Version}}
goarch:
- amd64
- arm64
archives:
- id: kubectl-fdb
builds:
- kubectl-fdb
format: binary
name_template: "{{ .Binary }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incpatch .Version }}-next"
# TODO(johscheuer): evaluate if we want to use this feature
changelog:
skip: true