From d9788e8ccfc550a0684a80cb3e6f8c7f26f57d84 Mon Sep 17 00:00:00 2001 From: lmussier Date: Mon, 3 Jun 2024 15:37:39 +0200 Subject: [PATCH] Precise the arm version like it is done for oras, and ignore arm for darwin Signed-off-by: lmussier --- .dev.goreleaser.yml | 4 ++++ .goreleaser.yml | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/.dev.goreleaser.yml b/.dev.goreleaser.yml index 798fc2f9d..f51f1e794 100644 --- a/.dev.goreleaser.yml +++ b/.dev.goreleaser.yml @@ -25,11 +25,15 @@ builds: - 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: