Skip to content

Commit

Permalink
Ensuring symbols sources get published to SymbolSource
Browse files Browse the repository at this point in the history
  • Loading branch information
smithc committed Feb 16, 2017
1 parent 8b1aca6 commit 6127f3e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
7 changes: 6 additions & 1 deletion tools/Nuget/nuget-push.bat
Original file line number Diff line number Diff line change
@@ -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
)
9 changes: 8 additions & 1 deletion tools/Nuget/nuget.bat
Original file line number Diff line number Diff line change
Expand Up @@ -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
..\..\.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
)

0 comments on commit 6127f3e

Please sign in to comment.