From 43a9f3cd97e6e0204efb300e9aaaba58d077d946 Mon Sep 17 00:00:00 2001 From: Pavlo Golub Date: Wed, 17 Jan 2024 15:42:52 +0100 Subject: [PATCH] [-] include version information to release assets names, fixes #193 (#200) --- .goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 738ec42..780d5fa 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -13,7 +13,7 @@ builds: archives: - name_template: >- - {{ .ProjectName }}_ + {{ .ProjectName }}_{{ .Version }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 @@ -42,7 +42,7 @@ nfpms: # note that this is an array of nfpm configs - file_name_template: >- - {{ .ProjectName }}_ + {{ .ProjectName }}_{{ .Version }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386