Skip to content

Commit d7b1590

Browse files
authored
Update download-install-local-azure-devops-cli-extension-with-pip.yml (#961)
* Update download-install-local-azure-devops-cli-extension-with-pip.yml * Update download-install-local-azure-devops-cli-extension.yml
1 parent c0d1cb7 commit d7b1590

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.azure-pipelines/templates/download-install-local-azure-devops-cli-extension-with-pip.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ steps:
1212
inputs:
1313
targetType: 'inline'
1414
script: |
15+
$extensionUninstall = az extension remove -n azure-devops
1516
$extensions = Get-ChildItem -Filter "*.whl" -Recurse | Select-Object FullName
1617
Foreach ($extension in $extensions)
1718
{
1819
Write-Host "installing " $extension.FullName
1920
pip install $extension.FullName
2021
}
2122
Write-Host "done"
22-
workingDirectory: '$(System.ArtifactsDirectory)/extension'
23+
workingDirectory: '$(System.ArtifactsDirectory)/extension'

.azure-pipelines/templates/download-install-local-azure-devops-cli-extension.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,12 @@ steps:
1212
inputs:
1313
targetType: 'inline'
1414
script: |
15+
$extensionUninstall = az extension remove -n azure-devops
1516
$extensions = Get-ChildItem -Filter "*.whl" -Recurse | Select-Object FullName
1617
Foreach ($extension in $extensions)
1718
{
1819
Write-Host "installing " $extension.FullName
1920
az extension add --source $extension.FullName -y --debug
2021
}
2122
Write-Host "done"
22-
workingDirectory: '$(System.ArtifactsDirectory)/extension'
23+
workingDirectory: '$(System.ArtifactsDirectory)/extension'

0 commit comments

Comments
 (0)