зеркало из https://github.com/microsoft/msquic.git
Fix mirror PowerShell script (try 6) (#152)
This commit is contained in:
Родитель
edc83b7f31
Коммит
4f6fd48179
|
@ -33,6 +33,10 @@ git remote add azdo-mirror "https://nibanks:$Env:AzDO_PAT@mscodehub.visualstudio
|
|||
git reset --hard origin/$Branch
|
||||
|
||||
# Push to the AzDO repo.
|
||||
git push azdo-mirror $Branch
|
||||
try {
|
||||
git push azdo-mirror $Branch
|
||||
} catch {
|
||||
Write-Host "Supressing exception while running 'git push'"
|
||||
}
|
||||
|
||||
Write-Host "Successfully mirrored latest changes"
|
||||
|
|
Загрузка…
Ссылка в новой задаче