Skip to content

Commit ec76547

Browse files
Update .goreleaser.yaml (#1884)
* Update .goreleaser.yaml * Update .goreleaser.yaml * prevents 32 bit builds for arm mac
1 parent b010271 commit ec76547

File tree

1 file changed

+8
-45
lines changed

1 file changed

+8
-45
lines changed

deploy/.goreleaser.yaml

Lines changed: 8 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ builds:
1313
ignore:
1414
- goos: windows
1515
goarch: arm
16+
- goos: darwin
17+
goarch: arm
1618
ldflags:
1719
- -s -w
1820
- -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }}
@@ -36,6 +38,8 @@ builds:
3638
ignore:
3739
- goos: windows
3840
goarch: arm
41+
- goos: darwin
42+
goarch: arm
3943
ldflags:
4044
- -s -w
4145
- -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }}
@@ -91,39 +95,7 @@ archives:
9195
dst: .
9296
strip_parent: true
9397

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
98+
12799

128100
dockers:
129101
- dockerfile: ./deploy/Dockerfile.troubleshoot
@@ -147,20 +119,11 @@ dockers:
147119
- preflight
148120
skip_push: true
149121

150-
universal_binaries:
151-
- id: preflight-universal
152-
ids: [preflight] # refers to the build id above
153-
replace: true
154-
name_template: preflight
155-
156-
- id: support-bundle-universal
157-
ids: [support-bundle] # refers to the build id above
158-
replace: true
159-
name_template: support-bundle
122+
160123

161124
brews:
162125
- name: preflight
163-
ids: [preflight, preflight-universal]
126+
ids: [preflight]
164127
homepage: https://docs.replicated.com/reference/preflight-overview/
165128
description: "A preflight checker and conformance test for Kubernetes clusters."
166129
repository:
@@ -170,7 +133,7 @@ brews:
170133
directory: HomebrewFormula
171134
install: bin.install "preflight"
172135
- name: support-bundle
173-
ids: [support-bundle, support-bundle-universal]
136+
ids: [support-bundle]
174137
homepage: https://docs.replicated.com/reference/support-bundle-overview/
175138
description: "Collect and redact support bundles for Kubernetes clusters."
176139
repository:

0 commit comments

Comments
 (0)