From 1b1d84e07bde4e9f0a3368c28352786ae9429389 Mon Sep 17 00:00:00 2001 From: Darrell Warde Date: Fri, 1 Nov 2024 14:37:20 +0000 Subject: [PATCH] Add version number to archive file names --- .goreleaser.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 168f179..230bea3 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -32,6 +32,7 @@ archives: # this name template makes the OS and Arch compatible with the results of `uname`. name_template: >- {{ .ProjectName }}_ + {{ .Version }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386