From f65c1a4e3de054f10f318cf09a3678dc85618d77 Mon Sep 17 00:00:00 2001 From: Ryan Brandenburg Date: Tue, 9 Oct 2018 11:54:24 -0700 Subject: [PATCH] Push UpdateRepos to maestro branch --- scripts/UpdateRepos.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/UpdateRepos.ps1 b/scripts/UpdateRepos.ps1 index 24b921b867..a3362a2bd2 100755 --- a/scripts/UpdateRepos.ps1 +++ b/scripts/UpdateRepos.ps1 @@ -106,10 +106,11 @@ try { # Push the changes if (-not $NoPush -and ($Force -or ($PSCmdlet.ShouldContinue("Pushing updates to repos.", 'Push the changes to these repos?')))) { try { - Invoke-Block { & git @gitConfigArgs push origin HEAD:$($submodule.branch)} + $newBranch = "maestro/$($submodule.branch)" + Invoke-Block { & git @gitConfigArgs push origin HEAD:$newBranch} } catch { - Write-Warning "Error in pushing $($submodule.module): $_" + Write-Warning "Error in pushing $newBranch: $_" $build_errors += @{ Repo = $submodule.module Message = $_