зеркало из https://github.com/microsoft/msquic.git
Fix mirror PowerShell Script (try 2) (#148)
This commit is contained in:
Родитель
22805951c1
Коммит
280196626c
|
@ -35,7 +35,7 @@ git reset --hard origin/$Branch
|
|||
|
||||
# Push to the AzDO repo.
|
||||
$Result = (git push azdo-mirror $Branch)
|
||||
if ($Result.Contains("Head is now at")) {
|
||||
if (($Result -as [String]).Contains("Head is now at")) {
|
||||
Write-Host "Successfully mirrored latest changes to https://mscodehub.visualstudio.com/msquic/_git/msquic"
|
||||
} else {
|
||||
Write-Error $Result
|
||||
|
|
Загрузка…
Ссылка в новой задаче