We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6fc0681 + 378f87e commit 98ed345Copy full SHA for 98ed345
Build.ps1
@@ -24,7 +24,13 @@ foreach ($src in ls src/*) {
24
echo "build: Packaging project in $src"
25
26
& dotnet build -c Release --version-suffix=$buildSuffix
27
- & dotnet pack -c Release --include-symbols -o ..\..\artifacts --version-suffix=$suffix --no-build
+ if($LASTEXITCODE -ne 0) { exit 1 }
28
+
29
+ if ($suffix) {
30
+ & dotnet pack -c Release --include-symbols -o ..\..\artifacts --version-suffix=$suffix --no-build
31
+ } else {
32
+ & dotnet pack -c Release --include-symbols -o ..\..\artifacts --no-build
33
+ }
34
if($LASTEXITCODE -ne 0) { exit 1 }
35
36
Pop-Location
0 commit comments