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
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
2 changed files with 9 additions and 9 deletions

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>

View File

@ -60,18 +60,18 @@ docker create \
```shell
sudo apt-get update && sudo apt-get install curl apt-transport-https gnupg
curl https://apt.hrfee.dev/hrfee.pubkey.gpg | sudo apt-key add -
# For stable releases
echo "deb https://apt.hrfee.dev trusty main" | sudo tee /etc/apt/sources.list.d/hrfee.list
# For unstable releases
echo "deb https://apt.hrfee.dev trusty-unstable main" | sudo tee /etc/apt/sources.list.d/hrfee.list
sudo apt-get update
# Stable releases
## For servers
#sudo apt-get install jfa-go
## For desktops/servers with GUI (has dependencies)
#sudo apt-get install jfa-go-tray
# Unstable (nightly) releases
## For servers
#sudo apt-get install jfa-go
## For desktops/servers with GUI (has dependencies)