-
Notifications
You must be signed in to change notification settings - Fork 12
/
.goreleaser.yml
118 lines (118 loc) · 2.87 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
---
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
main: cmd/helm-wrapper/main.go
id: helm-wrapper
binary: "helm-{{ .Os }}-{{ .Arch }}/helm-wrapper"
no_unique_dist_dir: true
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
ldflags:
- -s -w
- -X github.com/little-angry-clouds/kubernetes-binaries-managers/internal/cmd.Version={{.Version}}
- -X github.com/little-angry-clouds/kubernetes-binaries-managers/internal/cmd.Commit={{.Commit}}
- -X github.com/little-angry-clouds/kubernetes-binaries-managers/internal/cmd.Date={{.Date}}
goarch:
- amd64
- arm
- arm64
main: cmd/helmenv/main.go
id: helmenv
binary: "helm-{{ .Os }}-{{ .Arch }}/helmenv"
no_unique_dist_dir: true
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
ldflags:
- -s -w
- -X github.com/little-angry-clouds/kubernetes-binaries-managers/internal/cmd.Version={{.Version}}
- -X github.com/little-angry-clouds/kubernetes-binaries-managers/internal/cmd.Commit={{.Commit}}
- -X github.com/little-angry-clouds/kubernetes-binaries-managers/internal/cmd.Date={{.Date}}
goarch:
- amd64
- arm
- arm64
main: cmd/kbenv/main.go
id: kbenv
binary: "kubectl-{{ .Os }}-{{ .Arch }}/kbenv"
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
main: cmd/kubectl-wrapper/main.go
id: kubectl-wrapper
binary: "kubectl-{{ .Os }}-{{ .Arch }}/kubectl-wrapper"
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
goarch:
- amd64
- arm
- arm64
main: cmd/oc-wrapper/main.go
id: oc-wrapper
binary: "oc-{{ .Os }}-{{ .Arch }}/oc-wrapper"
- env:
- CGO_ENABLED=0
goos:
- linux
- darwin
- windows
ldflags:
- -s -w
- -X github.com/little-angry-clouds/kubernetes-binaries-managers/internal/cmd.Version={{.Version}}
- -X github.com/little-angry-clouds/kubernetes-binaries-managers/internal/cmd.Commit={{.Commit}}
- -X github.com/little-angry-clouds/kubernetes-binaries-managers/internal/cmd.Date={{.Date}}
goarch:
- amd64
- arm
- arm64
main: cmd/ocenv/main.go
id: ocenv
binary: "oc-{{ .Os }}-{{ .Arch }}/ocenv"
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ .Tag }}-next"
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
- "^style:"
- "^build:"
release:
github:
owner: little-angry-clouds
name: kubernetes-binaries-managers
draft: true
archives:
# - format: binary
- name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"