Merge branch 'merge/release/2.2-to-master'
This commit is contained in:
commit
29cabb688e
|
|
@ -107,7 +107,7 @@ try {
|
||||||
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 {
|
||||||
$newBranch = "maestro/$($submodule.branch)"
|
$newBranch = "maestro/$($submodule.branch)"
|
||||||
Invoke-Block { & git @gitConfigArgs push origin HEAD:$newBranch}
|
Invoke-Block { & git @gitConfigArgs push origin HEAD:refs/heads/$newBranch}
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
Write-Warning "Error in pushing $($newBranch): $_"
|
Write-Warning "Error in pushing $($newBranch): $_"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue