File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,14 @@ echo "build: Version suffix is $suffix"
1818foreach ($src in ls src/* ) {
1919 Push-Location $src
2020
21- echo " build: Packaging project in $src "
22-
23- & dotnet pack - c Release - o ..\..\artifacts -- version- suffix= $suffix -- include- source
21+ echo " build: Packaging project in $src "
22+
23+ if ($suffix ) {
24+ & dotnet pack - c Release - o ..\..\artifacts -- version- suffix= $suffix -- include- source
25+ } else {
26+ & dotnet pack - c Release - o ..\..\artifacts -- include- source
27+ }
28+
2429 if ($LASTEXITCODE -ne 0 ) { exit 1 }
2530
2631 Pop-Location
@@ -29,7 +34,7 @@ foreach ($src in ls src/*) {
2934foreach ($test in ls test/* .PerformanceTests) {
3035 Push-Location $test
3136
32- echo " build: Building performance test project in $test "
37+ echo " build: Building performance test project in $test "
3338
3439 & dotnet build - c Release
3540 if ($LASTEXITCODE -ne 0 ) { exit 2 }
@@ -40,7 +45,7 @@ foreach ($test in ls test/*.PerformanceTests) {
4045foreach ($test in ls test/* .Tests) {
4146 Push-Location $test
4247
43- echo " build: Testing project in $test "
48+ echo " build: Testing project in $test "
4449
4550 & dotnet test - c Release
4651 if ($LASTEXITCODE -ne 0 ) { exit 3 }
You can’t perform that action at this time.
0 commit comments