deploy-nugets.sh hinzugefügt

This commit is contained in:
2025-12-20 09:53:34 +00:00
parent 50a8dc6d09
commit d6d746c1ed

13
deploy-nugets.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
sourceP="https://git.pilzinsel64.de/api/packages/Pilz.NET/nuget/index.json"
apikeyP="$Gitea_git_pilzinsel64_de"
sourceN="https://api.nuget.org/v3/index.json"
apikeyN="$NuGet_ApiKey"
for pkg in "$@"; do
dotnet nuget push "$pkg" --source "$sourceP" --api-key "$apikeyP" --skip-duplicate
dotnet nuget push "$pkg" --source "$sourceN" --api-key "$apikeyN" --skip-duplicate
done