#!/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