fix(ci): close release foreach loop (was truncated -> parse error)
build-nsInnoUnp.yml shipped without the closing brace of the asset-upload foreach (and no EOF newline) since its origin; the release job had never run (tag-only) so the PS parse error "MissingEndCurlyBrace" was latent until the test tag triggered it. Close the loop, add per-asset + final Write-Host. PS parse verified.
This commit is contained in:
@@ -120,3 +120,6 @@ jobs:
|
|||||||
(Resolve-Path $zipName).ProviderPath)
|
(Resolve-Path $zipName).ProviderPath)
|
||||||
Invoke-RestMethod -Method Post -Uri $uploadUrl `
|
Invoke-RestMethod -Method Post -Uri $uploadUrl `
|
||||||
-Headers $uploadHeaders -Body $zipBytes | Out-Null
|
-Headers $uploadHeaders -Body $zipBytes | Out-Null
|
||||||
|
Write-Host "Uploaded asset: $zipName"
|
||||||
|
}
|
||||||
|
Write-Host "Release $env:TAG published with $($release.html_url)"
|
||||||
Reference in New Issue
Block a user