From cbd8778d89c7fb3000ef3ff37e99c50c3c9ef93d Mon Sep 17 00:00:00 2001 From: Steven Kessler Date: Wed, 25 Dec 2024 23:00:26 -0500 Subject: [PATCH] chore(fixing release names): lining up release names with rust defaults vs goreleaser defaults --- .goreleaser.yaml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 054cc8d..ea2e6fa 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -10,6 +10,7 @@ builds: - builder: rust flags: - --release + - -F self_update targets: - x86_64-unknown-linux-gnu - x86_64-apple-darwin @@ -19,18 +20,17 @@ builds: archives: - format: tar.gz name_template: >- - {{ .ProjectName }}_ - {{- title .Os }}_ - {{- if eq .Arch "amd64" }}x86_64 - {{- else if eq .Arch "386" }}i386 - {{- else }}{{ .Arch }}{{ end }} + {{ .ProjectName }}- + {{- if eq .Os "darwin" }}x86_64-apple-darwin + {{- else if and (eq .Os "linux") (eq .Arch "amd64") }}x86_64-unknown-linux-gnu + {{- else if and (eq .Os "linux") (eq .Arch "arm64") }}aarch64-unknown-linux-gnu + {{- else if and (eq .Os "darwin") (eq .Arch "arm64") }}aarch64-apple-darwin + {{- else }}{{ .Os }}-{{ .Arch }}{{ end }} changelog: disable: true release: footer: >- - --- - Released by [GoReleaser](https://github.com/goreleaser/goreleaser).