From 45b123b14effede7dd650e43090a9014025a077b Mon Sep 17 00:00:00 2001 From: "M. Ludo" Date: Wed, 24 Jul 2024 19:56:49 +0200 Subject: [PATCH] build: add support for armv7 binary release (#956) Modify targeted goarch and ignore irrelevant configs (e.g windows/arm and darwin/ arm) Signed-off-by: lmussier --- .dev.goreleaser.yml | 7 +++++++ .goreleaser.yml | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/.dev.goreleaser.yml b/.dev.goreleaser.yml index 436864f84..f51f1e794 100644 --- a/.dev.goreleaser.yml +++ b/.dev.goreleaser.yml @@ -24,9 +24,16 @@ builds: goarch: - amd64 - arm64 + - arm + goarm: + - '7' ignore: - goos: windows goarch: arm64 + - goos: windows + goarch: arm + - goos: darwin + goarch: arm ldflags: - -s -w -X {{.ModulePath}}/internal/version.Version={{.Version}} -X {{.ModulePath}}/internal/version.GitCommit={{.FullCommit}} -X {{.ModulePath}}/internal/version.BuildMetadata= archives: diff --git a/.goreleaser.yml b/.goreleaser.yml index 1eb2558de..86dbc2453 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -24,9 +24,16 @@ builds: goarch: - amd64 - arm64 + - arm + goarm: + - '7' ignore: - goos: windows goarch: arm64 + - goos: windows + goarch: arm + - goos: darwin + goarch: arm ldflags: - -s -w -X {{.ModulePath}}/internal/version.Version={{.Version}} -X {{.ModulePath}}/internal/version.GitCommit={{.FullCommit}} -X {{.ModulePath}}/internal/version.BuildMetadata= archives: