From 087172c79e8b2f88c25a6537c26a6162ae22553d Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Mon, 24 May 2021 18:46:54 +0100 Subject: [PATCH] fix package naming to avoid conflicts --- .goreleaser.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 30bf8e6..9d2aa55 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -110,7 +110,7 @@ changelog: - '^test:' nfpms: - id: notray - file_name_template: '{{ .ProjectName }}_{{ .Arch }}_v{{ .Version }}' + file_name_template: '{{ .ProjectName }}{{ if .IsSnapshot }}-git{{ end }}_{{ .Arch }}_{{ if .IsSnapshot }}{{ .ShortCommit }}{{ else }}v{{ .Version }}{{ end }}' package_name: "jfa-go{{ if .IsSnapshot }}-git{{ end }}" homepage: https://github.com/hrfee/jfa-go description: A web app for managing users on Jellyfin @@ -128,7 +128,7 @@ nfpms: - deb - rpm - id: tray - file_name_template: '{{ .ProjectName }}_TrayIcon_{{ .Arch }}_v{{ .Version }}' + file_name_template: '{{ .ProjectName }}{{ if .IsSnapshot }}-git{{ end }}_TrayIcon_{{ .Arch }}_{{ if .IsSnapshot }}{{ .ShortCommit }}{{ else }}v{{ .Version }}{{ end }}' package_name: "jfa-go-tray{{ if .IsSnapshot }}-git{{ end }}" homepage: https://github.com/hrfee/jfa-go description: A web app for managing users on Jellyfin