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