From 0383d8cc3e2a7276a4f465726ed2ca573f5b45c2 Mon Sep 17 00:00:00 2001 From: Lucas Modrich <2934597+lucasmodrich@users.noreply.github.com> Date: Sat, 21 Feb 2026 14:37:40 +1100 Subject: [PATCH] fix: use {{ .Binary }} in archive name_template to produce gwtm_* artifacts {{ .ProjectName }} resolves to the repo name (git-worktree-manager), producing git-worktree-manager_Windows_x86_64.exe instead of gwtm_Windows_x86_64.exe. {{ .Binary }} uses the binary: gwtm setting, matching what the upgrade command expects when constructing download URLs. Co-Authored-By: Claude Sonnet 4.6 --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 1e0570c..4f47074 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -33,7 +33,7 @@ archives: - id: default formats: [binary] name_template: >- - {{ .ProjectName }}_ + {{ .Binary }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386