fix: deploy_hub.ps1 splat variable
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user