Skip to content

Commit 9f3219c

Browse files
committed
adds source snupkg file to build artifacts and deployment
1 parent 16138ab commit 9f3219c

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scripts/build.ps1

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ Write-Host "Building..." -ForegroundColor green
33
dotnet build .\TypeSupport\TypeSupport.sln | Select-String -Pattern " warning " -NotMatch | Select-String -Pattern "INFO:" -NotMatch | Select-String -Pattern "WARNING:" -NotMatch
44

55
Write-Host "Packaging..." -ForegroundColor green
6-
dotnet pack .\TypeSupport\TypeSupport\TypeSupport.csproj --configuration Release --no-build
6+
dotnet pack .\TypeSupport\TypeSupport\TypeSupport.csproj --configuration Release --no-build -p:IncludeSymbols=true -p:SymbolPackageFormat=snupkg
77

8-
Get-ChildItem .\*.nupkg -recurse | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
8+
Get-ChildItem .\*.nupkg -recurse | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -Type NuGetPackage }
9+
10+
Get-ChildItem .\*.snupkg -recurse | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name -Type NuGetPackage }

0 commit comments

Comments
 (0)