14 lines
414 B
Batchfile
14 lines
414 B
Batchfile
@echo off
|
|
|
|
set sourceP="https://git.pilzinsel64.de/api/packages/Pilz.NET/nuget/index.json"
|
|
set apikeyP=%Gitea_git_pilzinsel64_de%
|
|
|
|
set sourceN="https://api.nuget.org/v3/index.json"
|
|
set apikeyN=%NuGet_ApiKey%
|
|
|
|
for %%x in (%*) do (
|
|
dotnet nuget push "%%x" --source "%sourceP%" --api-key "%apikeyP%" --skip-duplicate
|
|
dotnet nuget push "%%x" --source "%sourceN%" --api-key "%apikeyN%" --skip-duplicate
|
|
)
|
|
|
|
pause |