fix(goreleaser): Use GoReleaser's upload feature
Replace my mess of a python script before
This commit is contained in:
parent
2565d34ade
commit
74bd7f43cd
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue