Skip to content

Commit

Permalink
Merge pull request #93 from skomis-mm/ci
Browse files Browse the repository at this point in the history
Fix build script running on .net core 2.0 CLI
  • Loading branch information
merbla authored Aug 17, 2017
2 parents 98dfb14 + 0c4bfbd commit 7bda6f2
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 @@ -20,7 +20,12 @@ foreach ($src in ls src/*) {

echo "build: Packaging project in $src"

& dotnet pack -c Release --include-source -o ..\..\artifacts --version-suffix=$suffix
if($suffix) {
& dotnet pack -c Release --include-source -o ..\..\artifacts --version-suffix=$suffix
} else {
& dotnet pack -c Release --include-source -o ..\..\artifacts
}

if($LASTEXITCODE -ne 0) { exit 1 }

Pop-Location
Expand Down

0 comments on commit 7bda6f2

Please sign in to comment.