From ec765470736fe885661bdd1c77a5e4ad235fa20f Mon Sep 17 00:00:00 2001 From: Noah Campbell Date: Wed, 8 Oct 2025 11:19:58 -0700 Subject: [PATCH] Update .goreleaser.yaml (#1884) * Update .goreleaser.yaml * Update .goreleaser.yaml * prevents 32 bit builds for arm mac --- deploy/.goreleaser.yaml | 53 +++++++---------------------------------- 1 file changed, 8 insertions(+), 45 deletions(-) diff --git a/deploy/.goreleaser.yaml b/deploy/.goreleaser.yaml index dff7efb2..d2939fdd 100644 --- a/deploy/.goreleaser.yaml +++ b/deploy/.goreleaser.yaml @@ -13,6 +13,8 @@ builds: ignore: - goos: windows goarch: arm + - goos: darwin + goarch: arm ldflags: - -s -w - -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }} @@ -36,6 +38,8 @@ builds: ignore: - goos: windows goarch: arm + - goos: darwin + goarch: arm ldflags: - -s -w - -X github.com/replicatedhq/troubleshoot/pkg/version.version={{ .Version }} @@ -91,39 +95,7 @@ archives: dst: . strip_parent: true - - id: preflight-universal - ids: [preflight-universal] - formats: [tar.gz] - name_template: "preflight_{{ .Os }}_{{ .Arch }}" - files: - - licence* - - LICENCE* - - license* - - LICENSE* - - readme* - - README* - - changelog* - - CHANGELOG* - - src: "sbom/assets/*" - dst: . - strip_parent: true - - - id: support-bundle-universal - ids: [support-bundle-universal] - formats: [tar.gz] - name_template: "support-bundle_{{ .Os }}_{{ .Arch }}" - files: - - licence* - - LICENCE* - - license* - - LICENSE* - - readme* - - README* - - changelog* - - CHANGELOG* - - src: "sbom/assets/*" - dst: . - strip_parent: true + dockers: - dockerfile: ./deploy/Dockerfile.troubleshoot @@ -147,20 +119,11 @@ dockers: - preflight skip_push: true -universal_binaries: - - id: preflight-universal - ids: [preflight] # refers to the build id above - replace: true - name_template: preflight - - - id: support-bundle-universal - ids: [support-bundle] # refers to the build id above - replace: true - name_template: support-bundle + brews: - name: preflight - ids: [preflight, preflight-universal] + ids: [preflight] homepage: https://docs.replicated.com/reference/preflight-overview/ description: "A preflight checker and conformance test for Kubernetes clusters." repository: @@ -170,7 +133,7 @@ brews: directory: HomebrewFormula install: bin.install "preflight" - name: support-bundle - ids: [support-bundle, support-bundle-universal] + ids: [support-bundle] homepage: https://docs.replicated.com/reference/support-bundle-overview/ description: "Collect and redact support bundles for Kubernetes clusters." repository: