Skip to content

Commit

Permalink
Fixed release script
Browse files Browse the repository at this point in the history
  • Loading branch information
a.vorobiev committed Nov 5, 2020
1 parent 1d8585f commit 8f6197a
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions release.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8f6197a

Please sign in to comment.