From 8f6197a15d2508d3957cfdfd1b832d23dd83c6dd Mon Sep 17 00:00:00 2001 From: "a.vorobiev" Date: Thu, 5 Nov 2020 17:58:26 +0100 Subject: [PATCH] Fixed release script --- release.bat | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/release.bat b/release.bat index e931f095b..790309d1b 100644 --- a/release.bat +++ b/release.bat @@ -38,9 +38,11 @@ ECHO. ECHO Pushing to nuget.org ... ECHO. -for %%f in (%~dp0\ReleaseBuilds\*.nupkg) do ( - echo Pushing %%f - nuget push %%f -Source https://api.nuget.org/v3/index.json -ApiKey %apikey% +for %%f in (%~dp0ReleaseBuilds\*.nupkg) do ( + (Echo "%%f" | FIND /I "symbols" 1>NUL) || ( + echo Pushing %%f + dotnet nuget push "%%f" -s api.nuget.org -k %apikey% + ) ) :End