mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-23 01:20:11 +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:
parent
2ad84db482
commit
8fd919bf04
@ -1,7 +0,0 @@
|
|||||||
conventional-commits: false
|
|
||||||
deb:
|
|
||||||
distribution: []
|
|
||||||
urgency: ""
|
|
||||||
debug: false
|
|
||||||
owner: "Harvey Tindall"
|
|
||||||
package-name: "jfa-go"
|
|
18
.drone.yml
18
.drone.yml
@ -10,6 +10,9 @@ steps:
|
|||||||
- git fetch --tags
|
- git fetch --tags
|
||||||
- name: release
|
- name: release
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
|
volumes:
|
||||||
|
- name: ssh_key
|
||||||
|
path: /id_rsa
|
||||||
environment:
|
environment:
|
||||||
BUILDRONE_KEY:
|
BUILDRONE_KEY:
|
||||||
from_secret: BUILDRONE_KEY
|
from_secret: BUILDRONE_KEY
|
||||||
@ -26,7 +29,13 @@ steps:
|
|||||||
- ./scripts/version.sh ../goreleaser
|
- ./scripts/version.sh ../goreleaser
|
||||||
- wget https://builds.hrfee.pw/upload.py -P ../
|
- wget https://builds.hrfee.pw/upload.py -P ../
|
||||||
- pip3 install requests
|
- 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'
|
- 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:
|
trigger:
|
||||||
event:
|
event:
|
||||||
- tag
|
- tag
|
||||||
@ -73,6 +82,9 @@ type: docker
|
|||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: golang:latest
|
image: golang:latest
|
||||||
|
volumes:
|
||||||
|
- name: ssh_key
|
||||||
|
path: /id_rsa
|
||||||
commands:
|
commands:
|
||||||
- apt-get update -y
|
- 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
|
- 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
|
- ./scripts/version.sh ./goreleaser --snapshot --skip-publish --rm-dist
|
||||||
- wget https://builds.hrfee.pw/upload.py
|
- wget https://builds.hrfee.pw/upload.py
|
||||||
- pip3 install requests
|
- 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'
|
- 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:
|
environment:
|
||||||
BUILDRONE_KEY:
|
BUILDRONE_KEY:
|
||||||
from_secret: BUILDRONE_KEY
|
from_secret: BUILDRONE_KEY
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: ssh_key
|
||||||
|
host:
|
||||||
|
path: /root/.ssh/id_rsa_packaging
|
||||||
trigger:
|
trigger:
|
||||||
branch:
|
branch:
|
||||||
- main
|
- main
|
||||||
|
@ -111,6 +111,7 @@ changelog:
|
|||||||
nfpms:
|
nfpms:
|
||||||
- id: notray
|
- id: notray
|
||||||
file_name_template: '{{ .ProjectName }}_{{ .Arch }}_v{{ .Version }}'
|
file_name_template: '{{ .ProjectName }}_{{ .Arch }}_v{{ .Version }}'
|
||||||
|
package_name: "jfa-go{{ if .IsSnapshot }}-git{{ end }}"
|
||||||
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>
|
||||||
@ -128,6 +129,7 @@ nfpms:
|
|||||||
- rpm
|
- rpm
|
||||||
- id: tray
|
- id: tray
|
||||||
file_name_template: '{{ .ProjectName }}_TrayIcon_{{ .Arch }}_v{{ .Version }}'
|
file_name_template: '{{ .ProjectName }}_TrayIcon_{{ .Arch }}_v{{ .Version }}'
|
||||||
|
package_name: "jfa-go-tray{{ if .IsSnapshot }}-git{{ end }}"
|
||||||
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>
|
||||||
@ -145,6 +147,10 @@ nfpms:
|
|||||||
- rpm
|
- rpm
|
||||||
overrides:
|
overrides:
|
||||||
deb:
|
deb:
|
||||||
|
conflicts:
|
||||||
|
- jfa-go
|
||||||
|
replaces:
|
||||||
|
- jfa-go
|
||||||
dependencies:
|
dependencies:
|
||||||
- libappindicator3-1
|
- libappindicator3-1
|
||||||
rpm:
|
rpm:
|
||||||
|
21
README.md
21
README.md
@ -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.
|
`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/).
|
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.
|
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.
|
||||||
|
8155
changelog.yml
8155
changelog.yml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user