From 66d9ff9ff8d742bfcf001e710926c8e64363d317 Mon Sep 17 00:00:00 2001 From: Dylan Lau Date: Thu, 4 Apr 2024 16:29:04 +0900 Subject: [PATCH] trim leading . --- .goreleaser.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 7ef56f2..a16d8ec 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -15,7 +15,7 @@ archives: - format: tar.gz name_template: >- {{ .ProjectName }}_ - {{ .Version }}_ + {{ trimprefix .Version "." }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386