Skip to content

Commit 8990c4b

Browse files
committed
some more goreleaser/homebrew stuffs
1 parent e03fa0a commit 8990c4b

File tree

1 file changed

+38
-6
lines changed

1 file changed

+38
-6
lines changed

deploy/.goreleaser.yaml

Lines changed: 38 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,40 @@ archives:
9191
dst: .
9292
strip_parent: true
9393

94+
- id: preflight-universal
95+
ids: [preflight-universal]
96+
formats: [tar.gz]
97+
name_template: "preflight_{{ .Os }}_{{ .Arch }}"
98+
files:
99+
- licence*
100+
- LICENCE*
101+
- license*
102+
- LICENSE*
103+
- readme*
104+
- README*
105+
- changelog*
106+
- CHANGELOG*
107+
- src: "sbom/assets/*"
108+
dst: .
109+
strip_parent: true
110+
111+
- id: support-bundle-universal
112+
ids: [support-bundle-universal]
113+
formats: [tar.gz]
114+
name_template: "support-bundle_{{ .Os }}_{{ .Arch }}"
115+
files:
116+
- licence*
117+
- LICENCE*
118+
- license*
119+
- LICENSE*
120+
- readme*
121+
- README*
122+
- changelog*
123+
- CHANGELOG*
124+
- src: "sbom/assets/*"
125+
dst: .
126+
strip_parent: true
127+
94128
dockers:
95129
- dockerfile: ./deploy/Dockerfile.troubleshoot
96130
image_templates:
@@ -126,24 +160,22 @@ universal_binaries:
126160

127161
brews:
128162
- name: preflight
129-
ids: [preflight]
163+
ids: [preflight, preflight-universal]
130164
homepage: https://docs.replicated.com/reference/preflight-overview/
131165
description: "A preflight checker and conformance test for Kubernetes clusters."
132166
repository:
133167
owner: replicatedhq
134168
name: homebrew-replicated
135169
branch: main
136170
directory: HomebrewFormula
137-
install: |
138-
bin.install "preflight"
171+
install: bin.install "preflight"
139172
- name: support-bundle
140-
ids: [support-bundle]
173+
ids: [support-bundle, support-bundle-universal]
141174
homepage: https://docs.replicated.com/reference/support-bundle-overview/
142175
description: "Collect and redact support bundles for Kubernetes clusters."
143176
repository:
144177
owner: replicatedhq
145178
name: homebrew-replicated
146179
branch: main
147180
directory: HomebrewFormula
148-
install: |
149-
bin.install "support-bundle"
181+
install: bin.install "support-bundle"

0 commit comments

Comments
 (0)