From 567fcf51dd852d6449986a5de009e8dbebf09c8f Mon Sep 17 00:00:00 2001 From: slonokot Date: Wed, 19 Jul 2023 16:57:39 +0300 Subject: [PATCH] fix deprecated property (#81) * fix deprecated property * add version in name_template --- .goreleaser.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index f492e0f..1b7bb7a 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -14,11 +14,14 @@ builds: - darwin archives: - - replacements: - darwin: Darwin - linux: Linux - 386: i386 - amd64: x86_64 + - id: shore + name_template: >- + {{ .ProjectName -}}_ + {{- .Version }}_ + {{- title .Os }}_ + {{- if eq .Arch "amd64" }}x86_64 + {{- else if eq .Arch "386" }}i386 + {{- else }}{{ .Arch }}{{ end }} checksum: name_template: 'checksums.txt'