add linux deploy

This commit is contained in:
2025-11-10 18:19:39 +01:00
parent cecf2122a6
commit 610a5fa3ec
2 changed files with 13 additions and 0 deletions

13
deploy-nugets.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/bin/bash
set -e
sourceP="https://git.pilzinsel64.de/api/v4/projects/8/packages/nuget/index.json"
apikeyP="$GitLab_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