Skip to content

Commit 6127f3e

Browse files
committed
Ensuring symbols sources get published to SymbolSource
1 parent 8b1aca6 commit 6127f3e

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

tools/Nuget/nuget-push.bat

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
11
@echo off
2-
for /r %%i in (*.nupkg) do (
2+
3+
for /r .\symbols %%i in (*.symbols.nupkg) do (
4+
..\..\.nuget\NuGet.exe push %%i -ApiKey %1 -Source https://nuget.smbsrc.net
5+
)
6+
7+
for %%i in (*.nupkg) do (
38
..\..\.nuget\NuGet.exe push %%i -ApiKey %1 -Source https://www.nuget.org/api/v2/package
49
)

tools/Nuget/nuget.bat

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,11 @@ set projfile=!projfile:nuspec=csproj!
88
..\..\.nuget\NuGet.exe pack ..\..\Jabberwocky.Library.nuspec -NoPackageAnalysis -Version 2.0.0-beta -OutputDirectory .
99

1010
..\..\.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
11-
..\..\.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
11+
..\..\.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
12+
13+
REM - Copy symbol sources to 'symbols' directory
14+
mkdir symbols
15+
16+
for %%i in (*.symbols.nupkg) do (
17+
move %%i ./symbols
18+
)

0 commit comments

Comments
 (0)