add deploy for linux

This commit is contained in:
2025-11-10 18:14:43 +01:00
parent c19c858de1
commit 5fd8bcba28
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/6/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