@@ -3,6 +3,7 @@ project_name: troubleshoot
33
44release :
55 prerelease : auto
6+ mode : keep-existing
67
78builds :
89 - id : preflight
@@ -13,8 +14,6 @@ builds:
1314 ignore :
1415 - goos : windows
1516 goarch : arm
16- - goos : darwin
17- goarch : arm
1817 ldflags :
1918 - -s -w
2019 - -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }}
@@ -38,8 +37,6 @@ builds:
3837 ignore :
3938 - goos : windows
4039 goarch : arm
41- - goos : darwin
42- goarch : arm
4340 ldflags :
4441 - -s -w
4542 - -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }}
@@ -95,7 +92,39 @@ archives:
9592 dst : .
9693 strip_parent : true
9794
98-
95+ - id : preflight-universal
96+ ids : [preflight-universal]
97+ formats : [tar.gz]
98+ name_template : " preflight_{{ .Os }}_{{ .Arch }}"
99+ files :
100+ - licence*
101+ - LICENCE*
102+ - license*
103+ - LICENSE*
104+ - readme*
105+ - README*
106+ - changelog*
107+ - CHANGELOG*
108+ - src : " sbom/assets/*"
109+ dst : .
110+ strip_parent : true
111+
112+ - id : support-bundle-universal
113+ ids : [support-bundle-universal]
114+ formats : [tar.gz]
115+ name_template : " support-bundle_{{ .Os }}_{{ .Arch }}"
116+ files :
117+ - licence*
118+ - LICENCE*
119+ - license*
120+ - LICENSE*
121+ - readme*
122+ - README*
123+ - changelog*
124+ - CHANGELOG*
125+ - src : " sbom/assets/*"
126+ dst : .
127+ strip_parent : true
99128
100129dockers :
101130 - dockerfile : ./deploy/Dockerfile.troubleshoot
@@ -119,11 +148,20 @@ dockers:
119148 - preflight
120149 skip_push : true
121150
122-
151+ universal_binaries :
152+ - id : preflight-universal
153+ ids : [preflight] # refers to the build id above
154+ replace : true
155+ name_template : preflight
156+
157+ - id : support-bundle-universal
158+ ids : [support-bundle] # refers to the build id above
159+ replace : true
160+ name_template : support-bundle
123161
124162brews :
125163 - name : preflight
126- ids : [preflight]
164+ ids : [preflight, preflight-universal ]
127165 homepage : https://docs.replicated.com/reference/preflight-overview/
128166 description : " A preflight checker and conformance test for Kubernetes clusters."
129167 repository :
@@ -133,7 +171,7 @@ brews:
133171 directory : HomebrewFormula
134172 install : bin.install "preflight"
135173 - name : support-bundle
136- ids : [support-bundle]
174+ ids : [support-bundle, support-bundle-universal ]
137175 homepage : https://docs.replicated.com/reference/support-bundle-overview/
138176 description : " Collect and redact support bundles for Kubernetes clusters."
139177 repository :
0 commit comments