Skip to content

Commit c3c2432

Browse files
authored
Build symbols packages with nuget (#163)
1 parent d6680b1 commit c3c2432

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,7 @@ PublishScripts/
158158

159159
# NuGet Packages
160160
*.nupkg
161+
*.snupkg
161162
# The packages folder can be ignored because of Package Restore
162163
**/packages/*
163164
# except build/, which is used as an MSBuild target.

tools/CreateNuget.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ UpdateDependencyVersions $ReactiveDomainTestingNuspec $ReactiveDomainTestingProj
233233
Write-Host "Packing reactivedomain nuget packages"
234234
$versionInfo = (Get-Item $ReactiveDomainDll).VersionInfo
235235
$versionString = $versionInfo.FileMajorPart.ToString() + "." + $versionInfo.FileMinorPart.ToString() + "." + $versionInfo.FileBuildPart.ToString()
236-
& $nuget pack $ReactiveDomainNuspec -Version $versionString
237-
& $nuget pack $ReactiveDomainPolicyNuspec -Version $versionString
238-
& $nuget pack $ReactiveDomainTestingNuspec -Version $versionString
236+
& $nuget pack $ReactiveDomainNuspec -Version $versionString -Symbols -SymbolPackageFormat snupkg
237+
& $nuget pack $ReactiveDomainPolicyNuspec -Version $versionString -Symbols -SymbolPackageFormat snupkg
238+
& $nuget pack $ReactiveDomainTestingNuspec -Version $versionString -Symbols -SymbolPackageFormat snupkg
239239

240240
# *******************************************************************************************************************************
241241

0 commit comments

Comments
 (0)