forked from FoundationDB/fdb-kubernetes-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.goreleaser.yaml
More file actions
35 lines (29 loc) · 906 Bytes
/
.goreleaser.yaml
File metadata and controls
35 lines (29 loc) · 906 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
35
version: 2
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/v2/kubectl-fdb/cmd.pluginVersion={{ .Version }} -X github.com/FoundationDB/fdb-kubernetes-operator/v2/kubectl-fdb/cmd.pluginBuildDate={{ .Date }} -X github.com/FoundationDB/fdb-kubernetes-operator/v2/kubectl-fdb/cmd.pluginBuildCommit={{ .Commit }}
goarch:
- amd64
- arm64
archives:
- id: kubectl-fdb
ids:
- kubectl-fdb
formats: [ "binary" ]
name_template: "{{ .Binary }}_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
changelog:
disable: true
checksum:
name_template: 'checksums.txt'
snapshot:
version_template: "{{ incpatch .Version }}-next"