зеркало из https://github.com/microsoft/msquic.git
Fix mirror PowerShell script (try 4) (#150)
This commit is contained in:
Родитель
e93d4664ae
Коммит
38f036e681
|
@ -35,8 +35,9 @@ git reset --hard origin/$Branch
|
|||
|
||||
# Push to the AzDO repo.
|
||||
$Result = (git push azdo-mirror $Branch)
|
||||
if (($Result -as [String]).Contains("HEAD is now at")) {
|
||||
if (($Result -as [String]).Contains("To https://mscodehub.visualstudio.com/msquic/_git/msquic")) {
|
||||
Write-Host "Successfully mirrored latest changes to https://mscodehub.visualstudio.com/msquic/_git/msquic"
|
||||
} else {
|
||||
Write-Error $Result
|
||||
Write-Error "ERROR:`n$($Result)"
|
||||
exit
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче