Push UpdateRepos to maestro branch
This commit is contained in:
parent
2948972bfb
commit
f65c1a4e3d
|
|
@ -106,10 +106,11 @@ try {
|
||||||
# Push the changes
|
# Push the changes
|
||||||
if (-not $NoPush -and ($Force -or ($PSCmdlet.ShouldContinue("Pushing updates to repos.", 'Push the changes to these repos?')))) {
|
if (-not $NoPush -and ($Force -or ($PSCmdlet.ShouldContinue("Pushing updates to repos.", 'Push the changes to these repos?')))) {
|
||||||
try {
|
try {
|
||||||
Invoke-Block { & git @gitConfigArgs push origin HEAD:$($submodule.branch)}
|
$newBranch = "maestro/$($submodule.branch)"
|
||||||
|
Invoke-Block { & git @gitConfigArgs push origin HEAD:$newBranch}
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Warning "Error in pushing $($submodule.module): $_"
|
Write-Warning "Error in pushing $newBranch: $_"
|
||||||
$build_errors += @{
|
$build_errors += @{
|
||||||
Repo = $submodule.module
|
Repo = $submodule.module
|
||||||
Message = $_
|
Message = $_
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue