File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
pipelines/templates/stages Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ stages:
9797 $artifacts = Get-Content '$(Pipeline.Workspace)/drop/release-order.json' | ConvertFrom-Json
9898
9999 # Force $artifacts to be an array (PowerShell unrolls single-item arrays)
100- if ($artifacts -isnot [Array]) {
100+ if ($artifacts -isnot [Array]) {
101101 $artifacts = @($artifacts)
102102 }
103103
Original file line number Diff line number Diff line change @@ -128,8 +128,14 @@ try {
128128 $packageParams += " --no-verify"
129129 }
130130
131- Write-Host " > cargo publish --locked --dry-run --allow-dirty $ ( $packageParams -join ' ' ) "
132- & cargo publish -- locked -- dry- run -- allow- dirty @packageParams 2>&1 | Tee-Object - Variable packResult
131+ LogGroupStart " cargo publish --locked --dry-run --allow-dirty $ ( $packageParams -join ' ' ) "
132+ Write-Host " cargo publish --locked --dry-run --allow-dirty $ ( $packageParams -join ' ' ) "
133+ & cargo publish -- locked -- dry- run -- allow- dirty @packageParams 2>&1 `
134+ | Tee-Object - Variable packResult `
135+ | ForEach-Object { Write-Host $_ - ForegroundColor Gray }
136+ LogGroupEnd
137+
138+ Write-Host " Finished packing crates"
133139 if ($LASTEXITCODE ) {
134140 Write-Host " cargo publish failed with exit code $LASTEXITCODE "
135141 exit $LASTEXITCODE
You can’t perform that action at this time.
0 commit comments