Skip to content

Commit c3090fc

Browse files
committed
Ignore suffix when packaging master.
1 parent c2f6316 commit c3090fc

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Build.ps1

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ foreach ($src in ls src/*) {
2525
echo "build: Packaging project in $src"
2626

2727
& dotnet build -c Release --version-suffix=$buildSuffix
28-
& dotnet pack -c Release --include-symbols -o ..\..\artifacts --version-suffix=$suffix --no-build
28+
if ($suffix) {
29+
& dotnet pack -c Release --include-symbols -o ..\..\artifacts --version-suffix=$suffix --no-build
30+
} else {
31+
& dotnet pack -c Release --include-symbols -o ..\..\artifacts --no-build
32+
}
2933
if($LASTEXITCODE -ne 0) { exit 1 }
3034

3135
Pop-Location

0 commit comments

Comments
 (0)