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.
1 parent 5dbd448 commit 8380d4dCopy full SHA for 8380d4d
Build.ps1
@@ -18,10 +18,15 @@ echo "build: Version suffix is $suffix"
18
foreach ($src in ls src/*) {
19
Push-Location $src
20
21
- echo "build: Packaging project in $src"
+ echo "build: Packaging project in $src"
22
23
- & dotnet pack -c Release -o ..\..\artifacts --version-suffix=$suffix
24
- if($LASTEXITCODE -ne 0) { exit 1 }
+ If ([string]::IsNullOrWhitespace($suffix)) {
+ & dotnet pack -c Release -o ..\..\artifacts
25
+ } Else {
26
+ & dotnet pack -c Release -o ..\..\artifacts --version-suffix=$suffix
27
+ }
28
+
29
+ If ($LASTEXITCODE -ne 0) { exit 1 }
30
31
Pop-Location
32
}
0 commit comments