We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c76c40e commit 7e82953Copy full SHA for 7e82953
1 file changed
install.ps1
@@ -62,7 +62,7 @@ $existingConductor = Get-Command conductor -ErrorAction SilentlyContinue
62
if ($existingConductor) {
63
$currentVersion = $null
64
try {
65
- $versionOutput = conductor --version 2>$null
+ $versionOutput = (conductor --version 2>&1) | Out-String
66
if ($versionOutput -match '(\d+\.\d+\.\d+[^ ]*)') {
67
$currentVersion = $Matches[1]
68
}
@@ -75,7 +75,7 @@ if ($existingConductor) {
75
Write-Host ""
76
Write-Host " Run 'conductor --help' to get started."
77
78
- exit 0
+ return
79
80
Write-Info "Upgrading Conductor: v$currentVersion → $tagName"
81
0 commit comments