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