File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,13 @@ echo "build: Version suffix is $suffix"
1818foreach ($src in ls src/* ) {
1919 Push-Location $src
2020
21- echo " build: Packaging project in $src "
21+ echo " build: Packaging project in $src "
2222
23- & dotnet pack - c Release - o ..\..\artifacts -- version- suffix= $suffix
23+ if ($suffix ) {
24+ & dotnet pack - c Release - o ..\..\artifacts -- version- suffix= $suffix
25+ } else {
26+ & dotnet pack - c Release - o ..\..\artifacts
27+ }
2428 if ($LASTEXITCODE -ne 0 ) { exit 1 }
2529
2630 Pop-Location
@@ -29,7 +33,7 @@ foreach ($src in ls src/*) {
2933foreach ($test in ls test/* .PerformanceTests) {
3034 Push-Location $test
3135
32- echo " build: Building performance test project in $test "
36+ echo " build: Building performance test project in $test "
3337
3438 & dotnet build - c Release
3539 if ($LASTEXITCODE -ne 0 ) { exit 2 }
@@ -40,7 +44,7 @@ foreach ($test in ls test/*.PerformanceTests) {
4044foreach ($test in ls test/* .Tests) {
4145 Push-Location $test
4246
43- echo " build: Testing project in $test "
47+ echo " build: Testing project in $test "
4448
4549 & dotnet test - c Release
4650 if ($LASTEXITCODE -ne 0 ) { exit 3 }
You can’t perform that action at this time.
0 commit comments