feat: adding nzbget_exporter
Build / build-9 (pull_request) Successful in 50s
Build / build-8 (pull_request) Successful in 57s

This commit is contained in:
2025-08-03 13:25:56 +10:00
parent f63dfecffa
commit 4316055237
4 changed files with 66 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/bash
cd /app
git clone https://github.com/frebib/nzbget-exporter.git
go install github.com/frebib/enumerx@latest
cp /root/go/bin/enumerx /usr/local/bin/
pushd /app/nzbget-exporter
go generate
go build -o ../nzbget_exporter
popd
nfpm pkg --config /app/resources/nfpm.yaml --target /app/dist --packager rpm