fix: deploy_hub.ps1 splat variable

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
gti
2026-09-24 10:02:42 -03:00
co-authored by Claude Sonnet 5
parent 7dc437c01c
commit b01e3b230a
+1 -1
View File
@@ -51,7 +51,7 @@ try {
$deployArgs = @("scripts\deploy_hub_remote.py", "--version", $Version) $deployArgs = @("scripts\deploy_hub_remote.py", "--version", $Version)
if ($DryRun) { $deployArgs += "--dry-run" } if ($DryRun) { $deployArgs += "--dry-run" }
if ($PublishAgent) { $deployArgs += "--publish-agent" } if ($PublishAgent) { $deployArgs += "--publish-agent" }
& $Python @args & $Python @deployArgs
if ($LASTEXITCODE -ne 0) { throw "remote deploy failed (see ROLLBACK_REQUIRED above)" } if ($LASTEXITCODE -ne 0) { throw "remote deploy failed (see ROLLBACK_REQUIRED above)" }
Write-Host "DEPLOY_SCRIPT_OK log=$Log" Write-Host "DEPLOY_SCRIPT_OK log=$Log"
} finally { } finally {