Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
$suffix build script fix
  • Loading branch information
nblumhardt committed Nov 15, 2017
1 parent bf40944 commit 1754977
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Build.ps1
Expand Up @@ -24,7 +24,13 @@ 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($LASTEXITCODE -ne 0) { exit 1 }

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

Pop-Location
Expand Down

0 comments on commit 1754977

Please sign in to comment.