Skip to content

Commit

Permalink
Merge pull request serilog#1018 from serilog/include-source
Browse files Browse the repository at this point in the history
Include source in package builds
  • Loading branch information
nblumhardt authored Sep 20, 2017
2 parents 47e72dc + e681373 commit 7c8aa4f
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,12 @@ foreach ($src in ls src/*) {
echo "build: Packaging project in $src"

& dotnet build -c Release --version-suffix=$buildSuffix
& dotnet pack -c Release --include-symbols -o ..\..\artifacts --version-suffix=$suffix --no-build

if($suffix) {
& dotnet pack -c Release --include-source --no-build -o ..\..\artifacts --version-suffix=$suffix
} else {
& dotnet pack -c Release --include-source --no-build -o ..\..\artifacts
}
if($LASTEXITCODE -ne 0) { exit 1 }

Pop-Location
Expand Down

0 comments on commit 7c8aa4f

Please sign in to comment.