File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ $anyError = $False
6
6
ForEach ($p in $client_projects ) {
7
7
If ($ ($p.UseMSBuild ) -ne $True ) {
8
8
Write-Host " Building $ ( $p.Name ) " - ForegroundColor Yellow
9
- dotnet pack $ ($p.SourceDir ) - c Release - o $artifacts_dir
9
+ dotnet build $ ($p.SourceDir ) - c Release
10
10
Write-Host " Finished building $ ( $p.Name ) " - ForegroundColor Yellow
11
11
12
12
If ($LASTEXITCODE -ne 0 ) {
Original file line number Diff line number Diff line change @@ -15,6 +15,14 @@ Create-Directory $artifacts_dir
15
15
16
16
ForEach ($p in $client_projects ) {
17
17
If ($ ($p.UseMSBuild ) -ne $True ) {
18
+ Write-Host " Building Client NuGet Package: $ ( $p.Name ) " - ForegroundColor Yellow
19
+ dotnet pack " $ ( $p.SourceDir ) " - c Release - o $artifacts_dir
20
+ Write-Host " Building Client NuGet Package: $ ( $p.Name ) " - ForegroundColor Yellow
21
+
22
+ If (-not $? ) {
23
+ $anyError = $True
24
+ }
25
+
18
26
Continue ;
19
27
}
20
28
You can’t perform that action at this time.
0 commit comments