Force update devops cli extension to unblock authentication issue
This commit is contained in:
Родитель
bf5d158da8
Коммит
59280b5fd4
|
@ -25,9 +25,13 @@ if (!$devops_pat) {
|
|||
}
|
||||
|
||||
az extension show -n azure-devops *> $null
|
||||
if (!$?){
|
||||
if (!$?) {
|
||||
Write-Host 'Installing azure-devops extension'
|
||||
az extension add --name azure-devops
|
||||
} else {
|
||||
# Force update the extension to the latest version if it was already installed
|
||||
# this is needed to ensure we have the authentication issue fixed from earlier versions
|
||||
az extension update -n azure-devops *> $null
|
||||
}
|
||||
|
||||
$allVersions = @{}
|
||||
|
|
Загрузка…
Ссылка в новой задаче