fix(goreleaser): Use GoReleaser's upload feature

Replace my mess of a python script before
This commit is contained in:
Sam Therapy 2023-09-12 17:29:51 +02:00
parent 2565d34ade
commit 74bd7f43cd
Signed by: sam
GPG Key ID: 4D8B07C18F31ACBD
1 changed files with 16 additions and 0 deletions

View File

@ -134,6 +134,22 @@ nfpms:
- statically-linked-binary
- changelog-file-missing-in-native-package
uploads:
-
name: Packages
exts:
- deb
- rpm
- apk
- termux.deb
username: sam
target: >-
https://git.froth.zone/api/packages/sam/
{{- if eq .LinuxPackage "deb" }}debian/pool/sid/main/upload
{{- else if eq .Os "termux.deb" }}debian/pool/termux/main/upload
{{- else if eq .Os "rpm" }}rpm/upload
{{- else if eq .Os "apk" }}alpine/edge/main
gitea_urls:
api: https://git.froth.zone/api/v1
download: https://git.froth.zone