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:
@@ -119,4 +119,7 @@ jobs:
|
||||
$zipBytes = [System.IO.File]::ReadAllBytes(
|
||||
(Resolve-Path $zipName).ProviderPath)
|
||||
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