From 05981db6cef7f96122e5728963d5a80457ebc023 Mon Sep 17 00:00:00 2001 From: Eduardo Apolinario <653394+eapolinario@users.noreply.github.com> Date: Fri, 7 Jul 2023 06:18:20 -0700 Subject: [PATCH] Fix archive.replacements in goreleaser (#586) --- .goreleaser.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 6e21f69e7..a3bd2cb4f 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -30,18 +30,13 @@ builds: archives: - id: flyteadmin-archive name_template: |- - flyteadmin_{{ .Tag }}_{{ .Os }}_{{ .Arch -}} - {{- with .Arm -}} - {{- if (eq . "6") -}}hf - {{- else -}}v{{- . -}} - {{- end -}} - {{- end -}} + flyteadmin_{{ .Tag }}_{{ .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} builds: - flyteadmin - flytescheduler - replacements: - 386: i386 - amd64: x86_64 format_overrides: - goos: windows format: zip