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

remove chglog, add steps to upload to apt.hrfee.dev

chglog isn't actually needed. Packages are uploaded as jfa-go(-git) and
jfa-go-tray(-git).
This commit is contained in:
Harvey Tindall 2021-05-24 18:37:26 +01:00
parent 2ad84db482
commit 8fd919bf04
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
5 changed files with 45 additions and 8162 deletions

View File

@ -1,7 +0,0 @@
conventional-commits: false
deb:
distribution: []
urgency: ""
debug: false
owner: "Harvey Tindall"
package-name: "jfa-go"

View File

@ -10,6 +10,9 @@ steps:
- git fetch --tags
- name: release
image: golang:latest
volumes:
- name: ssh_key
path: /id_rsa
environment:
BUILDRONE_KEY:
from_secret: BUILDRONE_KEY
@ -26,7 +29,13 @@ steps:
- ./scripts/version.sh ../goreleaser
- wget https://builds.hrfee.pw/upload.py -P ../
- pip3 install requests
- bash -c 'sftp -P 2022 -i /id_rsa -o StrictHostKeyChecking=no root@161.97.102.153:/repo/incoming <<< $"put dist/*.deb"'
- bash -c 'ssh -i /id_rsa root@161.97.102.153 -p 2022 "repo-process-deb trusty"'
- bash -c 'python3 ../upload.py https://builds.hrfee.pw hrfee jfa-go --tag internal=true'
volumes:
- name: ssh_key
host:
path: /root/.ssh/id_rsa_packaging
trigger:
event:
- tag
@ -73,6 +82,9 @@ type: docker
steps:
- name: build
image: golang:latest
volumes:
- name: ssh_key
path: /id_rsa
commands:
- apt-get update -y
- apt-get install build-essential python3-pip curl software-properties-common sed upx gcc libgtk-3-dev libappindicator3-dev gcc-mingw-w64-x86-64 -y
@ -83,11 +95,17 @@ steps:
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist
- wget https://builds.hrfee.pw/upload.py
- pip3 install requests
- bash -c 'sftp -P 2022 -i /id_rsa -o StrictHostKeyChecking=no root@161.97.102.153:/repo/incoming <<< $"put dist/*.deb"'
- bash -c 'ssh -i /id_rsa root@161.97.102.153 -p 2022 "repo-process-deb trusty"'
- bash -c 'python3 upload.py https://builds.hrfee.pw hrfee jfa-go --upload ./dist/*.zip ./dist/*.deb ./dist/*.rpm ./dist/*.apk --tag internal-git=true'
environment:
BUILDRONE_KEY:
from_secret: BUILDRONE_KEY
volumes:
- name: ssh_key
host:
path: /root/.ssh/id_rsa_packaging
trigger:
branch:
- main

View File

@ -111,6 +111,7 @@ changelog:
nfpms:
- id: notray
file_name_template: '{{ .ProjectName }}_{{ .Arch }}_v{{ .Version }}'
package_name: "jfa-go{{ if .IsSnapshot }}-git{{ end }}"
homepage: https://github.com/hrfee/jfa-go
description: A web app for managing users on Jellyfin
maintainer: Harvey Tindall <hrfee@hrfee.dev>
@ -128,6 +129,7 @@ nfpms:
- rpm
- id: tray
file_name_template: '{{ .ProjectName }}_TrayIcon_{{ .Arch }}_v{{ .Version }}'
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
maintainer: Harvey Tindall <hrfee@hrfee.dev>
@ -145,6 +147,10 @@ nfpms:
- rpm
overrides:
deb:
conflicts:
- jfa-go
replaces:
- jfa-go
dependencies:
- libappindicator3-1
rpm:

View File

@ -56,6 +56,27 @@ docker create \
```
`TrayIcon` builds include a tray icon to start/stop/restart, and an option to automatically start when you log-in to your computer. For Linux users, these builds depend on the `libappindicator3-1`/`libappindicator-gtk3`/`libappindicator` package for Debian/Ubuntu, Fedora, and Alpine respectively.
##### Debian
```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 -
echo "deb https://apt.hrfee.dev trusty 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)
#sudo apt-get install jfa-go-tray
```
Available on the AUR as [jfa-go](https://aur.archlinux.org/packages/jfa-go/), [jfa-go-bin](https://aur.archlinux.org/packages/jfa-go) or [jfa-go-git](https://aur.archlinux.org/packages/jfa-go-git/).
For other platforms, grab an archive from the release section for your platform (or nightly builds [here](https://builds.hrfee.dev/view/hrfee/jfa-go)), and extract the `jfa-go` executable to somewhere useful.

File diff suppressed because it is too large Load Diff