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"
18
18
foreach ($src in ls src/* ) {
19
19
Push-Location $src
20
20
21
- echo " build: Packaging project in $src "
21
+ echo " build: Packaging project in $src "
22
22
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
+ }
24
28
if ($LASTEXITCODE -ne 0 ) { exit 1 }
25
29
26
30
Pop-Location
@@ -29,7 +33,7 @@ foreach ($src in ls src/*) {
29
33
foreach ($test in ls test/* .PerformanceTests) {
30
34
Push-Location $test
31
35
32
- echo " build: Building performance test project in $test "
36
+ echo " build: Building performance test project in $test "
33
37
34
38
& dotnet build - c Release
35
39
if ($LASTEXITCODE -ne 0 ) { exit 2 }
@@ -40,7 +44,7 @@ foreach ($test in ls test/*.PerformanceTests) {
40
44
foreach ($test in ls test/* .Tests) {
41
45
Push-Location $test
42
46
43
- echo " build: Testing project in $test "
47
+ echo " build: Testing project in $test "
44
48
45
49
& dotnet test - c Release
46
50
if ($LASTEXITCODE -ne 0 ) { exit 3 }
You can’t perform that action at this time.
0 commit comments