separate codenames for stable & unstable

templates don't work in name_template as i though, so this should work
instead.
This commit is contained in:
Harvey Tindall
2021-05-24 19:53:53 +01:00
parent 087172c79e
commit e03525a1d1
2 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -111,7 +111,7 @@ changelog:
nfpms:
- id: notray
file_name_template: '{{ .ProjectName }}{{ if .IsSnapshot }}-git{{ end }}_{{ .Arch }}_{{ if .IsSnapshot }}{{ .ShortCommit }}{{ else }}v{{ .Version }}{{ end }}'
package_name: "jfa-go{{ if .IsSnapshot }}-git{{ end }}"
package_name: jfa-go
homepage: https://github.com/hrfee/jfa-go
description: A web app for managing users on Jellyfin
maintainer: Harvey Tindall <hrfee@hrfee.dev>
@@ -129,7 +129,7 @@ nfpms:
- rpm
- id: tray
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 }}"
package_name: jfa-go-tray
homepage: https://github.com/hrfee/jfa-go
description: A web app for managing users on Jellyfin
maintainer: Harvey Tindall <hrfee@hrfee.dev>