adjust script to also publish on nuget.org
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
@Echo off
|
||||
@echo off
|
||||
|
||||
set source="https://git.pilzinsel64.de/api/v4/projects/8/packages/nuget/index.json"
|
||||
set apikey=%GitLab_git_pilzinsel64_de%
|
||||
set apikeyP=%GitLab_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 "%source%" --api-key "%apikey%" --skip-duplicate
|
||||
dotnet nuget push "%%x" --source "%sourceP%" --api-key "%apikeyP%" --skip-duplicate
|
||||
dotnet nuget push "%%x" --source "%sourceN%" --api-key "%apikeyN%" --skip-duplicate
|
||||
)
|
||||
|
||||
pause
|
||||
Reference in New Issue
Block a user