14 lines
403 B
Bash
Executable File
14 lines
403 B
Bash
Executable File
#!/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
|