Skip to content

Commit

Permalink
Ignore suffix when packaging master.
Browse files Browse the repository at this point in the history
  • Loading branch information
merbla committed Sep 13, 2017
1 parent c2f6316 commit c3090fc
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 c3090fc

Please sign in to comment.