We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 98dfb14 + 0c4bfbd commit 7bda6f2Copy full SHA for 7bda6f2
Build.ps1
@@ -20,7 +20,12 @@ foreach ($src in ls src/*) {
20
21
echo "build: Packaging project in $src"
22
23
- & dotnet pack -c Release --include-source -o ..\..\artifacts --version-suffix=$suffix
+ if($suffix) {
24
+ & dotnet pack -c Release --include-source -o ..\..\artifacts --version-suffix=$suffix
25
+ } else {
26
+ & dotnet pack -c Release --include-source -o ..\..\artifacts
27
+ }
28
+
29
if($LASTEXITCODE -ne 0) { exit 1 }
30
31
Pop-Location
0 commit comments