Skip to content

Commit 9af8f03

Browse files
committed
remove pip version/update commands from script and add to yml
1 parent 8e09cd9 commit 9af8f03

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

eng/common/pipelines/templates/steps/update-docsms-metadata.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,13 @@ steps:
9090
ContainerRegistryClientId: $(azuresdkimages-cr-clientid)
9191
ContainerRegistryClientSecret: $(azuresdkimages-cr-clientsecret)
9292
ImageId: '${{ parameters.DocValidationImageId }}'
93+
- task: UsePythonVersion@0
94+
- script: |
95+
python -m pip --version
96+
displayName: Show Pip Version
97+
- script: |
98+
python -m pip install --upgrade pip
99+
displayName: Update Pip Version
93100
- pwsh: |
94101
$packageInfoJson = '${{ convertToJson(parameters.PackageInfoLocations) }}'.Trim('"').Replace("\\", "/")
95102
# Without -NoEnumerate, a single element array[T] gets unwrapped as a single item T.

eng/scripts/docs/Docs-ToC.ps1

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ function Get-WhlFile {
1212
}
1313
$pipCommandArgs += "$Library==$Version"
1414

15-
# JRS-REMOVE-START
16-
pip --version
17-
pip install --upgrade pip
18-
# JRS-REMOVE-END
19-
2015
# download the whl file
2116
Write-Host "pip download --quiet --only-binary :all: --dest $Destination --no-cache --no-deps $pipCommandArgs"
2217
pip download --quiet --only-binary :all: --dest $Destination --no-cache --no-deps $pipCommandArgs

0 commit comments

Comments
 (0)