fix(ci): close release foreach loop (was truncated -> parse error)
Lint / pssa (push) Successful in 28s
Lint / python (push) Successful in 55s
Build ns7zip (Local CI) / build (windows) (push) Successful in 2m4s
Build ns7zip (Local CI) / build (linux) (push) Successful in 4m24s
Build ns7zip (Local CI) / release (push) Successful in 6s
Lint / pssa (push) Successful in 28s
Lint / python (push) Successful in 55s
Build ns7zip (Local CI) / build (windows) (push) Successful in 2m4s
Build ns7zip (Local CI) / build (linux) (push) Successful in 4m24s
Build ns7zip (Local CI) / release (push) Successful in 6s
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. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -119,4 +119,7 @@ jobs:
|
|||||||
$zipBytes = [System.IO.File]::ReadAllBytes(
|
$zipBytes = [System.IO.File]::ReadAllBytes(
|
||||||
(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