-
Notifications
You must be signed in to change notification settings - Fork 14
/
.goreleaser.yml
61 lines (61 loc) · 1.35 KB
/
.goreleaser.yml
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
before:
hooks:
- go mod download
builds:
- id: kpexec
main: ./cmd/kpexec/main.go
binary: kpexec
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -X github.com/ssup2/kpexec/pkg/cmd/kpexec.version={{ .Tag }}
- id: kubectl-pexec
main: ./cmd/kpexec/main.go
binary: kubectl-pexec
env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm64
ldflags:
- -X github.com/ssup2/kpexec/pkg/cmd/kpexec.version={{ .Tag }}
- -X github.com/ssup2/kpexec/pkg/cmd/kpexec.build=kubectlPlugin
archives:
- id: kpexec
builds:
- kpexec
name_template: "kpexec_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
- id: kubectl-pexec
builds:
- kubectl-pexec
name_template: "kubectl_pexec_v{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}{{ if .Mips }}_{{ .Mips }}{{ end }}"
replacements:
darwin: Darwin
linux: Linux
windows: Windows
checksum:
name_template: checksums.txt
changelog:
sort: asc
brews:
- name: kpexec
ids:
- kpexec
tap:
owner: ssup2
name: homebrew-tap