Fix UpdateDependencies script for maestro
This commit is contained in:
parent
3d88d912e6
commit
428e470e83
|
|
@ -81,13 +81,13 @@ if ($count -gt 0) {
|
|||
$ConfigVars += "--UpdatedVersions"
|
||||
$varString = ""
|
||||
foreach ($updatedVar in $updatedVars.GetEnumerator()) {
|
||||
$varString += "$($updatedVar.Name)=$($updatedVar.Value);"
|
||||
$varString += "$($updatedVar.Name)=$($updatedVar.Value)+"
|
||||
}
|
||||
$ConfigVars += $varString
|
||||
|
||||
# Restore and run the app
|
||||
Write-Host "Invoking App $ProjectPath..."
|
||||
Invoke-Expression "dotnet run -p `"$ProjectPath`" @ConfigVars"
|
||||
Invoke-Expression "dotnet run -p `"$ProjectPath`" $ConfigVars"
|
||||
if ($LASTEXITCODE -ne 0) { throw "Build failed" }
|
||||
}
|
||||
else {
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ namespace Microsoft.Dotnet.Scripts
|
|||
{
|
||||
get
|
||||
{
|
||||
return UpdatedVersions.Split(';',System.StringSplitOptions.RemoveEmptyEntries);
|
||||
return UpdatedVersions.Split('+',System.StringSplitOptions.RemoveEmptyEntries);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue