mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 17:10:10 +00:00
change notray/tray naming, add deb/rpm/apk
Since Tray support requires dependencies, it won't be the default for releases. deb/rpm/apk support may be broken still.
This commit is contained in:
parent
5167fde080
commit
1d47b9074f
@ -20,6 +20,7 @@ steps:
|
|||||||
- 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
|
||||||
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
- (curl -sL https://deb.nodesource.com/setup_14.x | bash -)
|
||||||
- apt-get install nodejs
|
- apt-get install nodejs
|
||||||
|
|
||||||
- curl -sL https://git.io/goreleaser > ../goreleaser
|
- curl -sL https://git.io/goreleaser > ../goreleaser
|
||||||
- chmod +x ../goreleaser
|
- chmod +x ../goreleaser
|
||||||
- ./scripts/version.sh ../goreleaser
|
- ./scripts/version.sh ../goreleaser
|
||||||
@ -82,7 +83,7 @@ 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 'python3 upload.py https://builds.hrfee.pw hrfee jfa-go --upload ./dist/*.zip --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
|
||||||
|
@ -40,6 +40,7 @@ builds:
|
|||||||
goarch:
|
goarch:
|
||||||
- arm
|
- arm
|
||||||
- arm64
|
- arm64
|
||||||
|
- amd64
|
||||||
- id: windows-tray
|
- id: windows-tray
|
||||||
dir: ./
|
dir: ./
|
||||||
env:
|
env:
|
||||||
@ -71,7 +72,7 @@ archives:
|
|||||||
builds:
|
builds:
|
||||||
- windows-tray
|
- windows-tray
|
||||||
format: zip
|
format: zip
|
||||||
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
name_template: "{{ .ProjectName }}_{{ .Version }}_TrayIcon_{{ .Os }}_{{ .Arch }}"
|
||||||
replacements:
|
replacements:
|
||||||
darwin: macOS
|
darwin: macOS
|
||||||
linux: Linux
|
linux: Linux
|
||||||
@ -81,7 +82,7 @@ archives:
|
|||||||
builds:
|
builds:
|
||||||
- linux-tray
|
- linux-tray
|
||||||
format: zip
|
format: zip
|
||||||
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
name_template: "{{ .ProjectName }}_{{ .Version }}_TrayIcon_{{ .Os }}_{{ .Arch }}"
|
||||||
replacements:
|
replacements:
|
||||||
darwin: macOS
|
darwin: macOS
|
||||||
linux: Linux
|
linux: Linux
|
||||||
@ -91,7 +92,7 @@ archives:
|
|||||||
builds:
|
builds:
|
||||||
- notray
|
- notray
|
||||||
format: zip
|
format: zip
|
||||||
name_template: "{{ .ProjectName }}_{{ .Version }}_noTrayIcon_{{ .Os }}_{{ .Arch }}"
|
name_template: "{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}"
|
||||||
replacements:
|
replacements:
|
||||||
darwin: macOS
|
darwin: macOS
|
||||||
linux: Linux
|
linux: Linux
|
||||||
@ -100,10 +101,56 @@ archives:
|
|||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: "git-{{.ShortCommit}}"
|
name_template: "0.0.0-{{.ShortCommit}}"
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
filters:
|
filters:
|
||||||
exclude:
|
exclude:
|
||||||
- '^docs:'
|
- '^docs:'
|
||||||
- '^test:'
|
- '^test:'
|
||||||
|
nfpms:
|
||||||
|
- id: notray
|
||||||
|
file_name_template: '{{ .ProjectName }}_{{ .Arch }}_v{{ .Version }}'
|
||||||
|
homepage: https://github.com/hrfee/jfa-go
|
||||||
|
description: A web app for managing users on Jellyfin
|
||||||
|
maintainer: Harvey Tindall <hrfee@hrfee.dev>
|
||||||
|
license: MIT
|
||||||
|
vendor: hrfee.dev
|
||||||
|
version_metadata: git
|
||||||
|
builds:
|
||||||
|
- notray
|
||||||
|
contents:
|
||||||
|
- src: ./LICENSE
|
||||||
|
dst: /usr/share/licenses/jfa-go
|
||||||
|
formats:
|
||||||
|
- apk
|
||||||
|
- deb
|
||||||
|
- rpm
|
||||||
|
- id: tray
|
||||||
|
file_name_template: '{{ .ProjectName }}_Tray_{{ .Arch }}_v{{ .Version }}'
|
||||||
|
homepage: https://github.com/hrfee/jfa-go
|
||||||
|
description: A web app for managing users on Jellyfin
|
||||||
|
maintainer: Harvey Tindall <hrfee@hrfee.dev>
|
||||||
|
license: MIT
|
||||||
|
vendor: hrfee.dev
|
||||||
|
version_metadata: git
|
||||||
|
builds:
|
||||||
|
- linux-tray
|
||||||
|
contents:
|
||||||
|
- src: ./LICENSE
|
||||||
|
dst: /usr/share/licenses/jfa-go
|
||||||
|
formats:
|
||||||
|
- apk
|
||||||
|
- deb
|
||||||
|
- rpm
|
||||||
|
overrides:
|
||||||
|
deb:
|
||||||
|
dependencies:
|
||||||
|
- libappindicator3-1
|
||||||
|
rpm:
|
||||||
|
dependencies:
|
||||||
|
- libappindicator-gtk3
|
||||||
|
apk:
|
||||||
|
dependencies:
|
||||||
|
- libappindicator
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user