diff --git a/tools/Nuget/nuget-push.bat b/tools/Nuget/nuget-push.bat index cbfd44c..7c33634 100644 --- a/tools/Nuget/nuget-push.bat +++ b/tools/Nuget/nuget-push.bat @@ -1,4 +1,9 @@ @echo off -for /r %%i in (*.nupkg) do ( + +for /r .\symbols %%i in (*.symbols.nupkg) do ( + ..\..\.nuget\NuGet.exe push %%i -ApiKey %1 -Source https://nuget.smbsrc.net +) + +for %%i in (*.nupkg) do ( ..\..\.nuget\NuGet.exe push %%i -ApiKey %1 -Source https://www.nuget.org/api/v2/package ) \ No newline at end of file diff --git a/tools/Nuget/nuget.bat b/tools/Nuget/nuget.bat index 6f21b2f..62dc05c 100644 --- a/tools/Nuget/nuget.bat +++ b/tools/Nuget/nuget.bat @@ -8,4 +8,11 @@ set projfile=!projfile:nuspec=csproj! ..\..\.nuget\NuGet.exe pack ..\..\Jabberwocky.Library.nuspec -NoPackageAnalysis -Version 2.0.0-beta -OutputDirectory . ..\..\.nuget\NuGet.exe pack ..\..\diagnostics\Jabberwocky.Core.CodeAnalysis/Jabberwocky.Core.CodeAnalysis/Jabberwocky.Core.CodeAnalysis.nuspec -NoPackageAnalysis -Version 2.0.0-beta -OutputDirectory . -Prop Configuration=Release -..\..\.nuget\NuGet.exe pack ..\..\diagnostics\Jabberwocky.Glass.CodeAnalysis/Jabberwocky.Glass.CodeAnalysis/Jabberwocky.Glass.CodeAnalysis.nuspec -NoPackageAnalysis -Version 2.0.0-beta -OutputDirectory . -Prop Configuration=Release \ No newline at end of file +..\..\.nuget\NuGet.exe pack ..\..\diagnostics\Jabberwocky.Glass.CodeAnalysis/Jabberwocky.Glass.CodeAnalysis/Jabberwocky.Glass.CodeAnalysis.nuspec -NoPackageAnalysis -Version 2.0.0-beta -OutputDirectory . -Prop Configuration=Release + +REM - Copy symbol sources to 'symbols' directory +mkdir symbols + +for %%i in (*.symbols.nupkg) do ( + move %%i ./symbols +) \ No newline at end of file