Skip to content

Commit

Permalink
Merge pull request #73 from merbla/dotnet-2-build-issue
Browse files Browse the repository at this point in the history
DotNet Core 2.0 Tooling/Build fix
  • Loading branch information
merbla authored Sep 13, 2017
2 parents c2f6316 + c3090fc commit 01c8442
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,11 @@ 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-symbols -o ..\..\artifacts --version-suffix=$suffix --no-build
} else {
& dotnet pack -c Release --include-symbols -o ..\..\artifacts --no-build
}
if($LASTEXITCODE -ne 0) { exit 1 }

Pop-Location
Expand Down

0 comments on commit 01c8442

Please sign in to comment.