1
0
mirror of https://github.com/hrfee/jfa-go.git synced 2024-12-22 17:10:10 +00:00

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: nfpms:
- id: notray - id: notray
file_name_template: '{{ .ProjectName }}{{ if .IsSnapshot }}-git{{ end }}_{{ .Arch }}_{{ if .IsSnapshot }}{{ .ShortCommit }}{{ else }}v{{ .Version }}{{ end }}' 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 homepage: https://github.com/hrfee/jfa-go
description: A web app for managing users on Jellyfin description: A web app for managing users on Jellyfin
maintainer: Harvey Tindall <hrfee@hrfee.dev> maintainer: Harvey Tindall <hrfee@hrfee.dev>
@ -129,7 +129,7 @@ nfpms:
- rpm - rpm
- id: tray - id: tray
file_name_template: '{{ .ProjectName }}{{ if .IsSnapshot }}-git{{ end }}_TrayIcon_{{ .Arch }}_{{ if .IsSnapshot }}{{ .ShortCommit }}{{ else }}v{{ .Version }}{{ end }}' 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 homepage: https://github.com/hrfee/jfa-go
description: A web app for managing users on Jellyfin description: A web app for managing users on Jellyfin
maintainer: Harvey Tindall <hrfee@hrfee.dev> maintainer: Harvey Tindall <hrfee@hrfee.dev>

View File

@ -60,18 +60,18 @@ docker create \
```shell ```shell
sudo apt-get update && sudo apt-get install curl apt-transport-https gnupg 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 - 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 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 sudo apt-get update
# Stable releases # 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 ## For servers
#sudo apt-get install jfa-go #sudo apt-get install jfa-go
## For desktops/servers with GUI (has dependencies) ## For desktops/servers with GUI (has dependencies)