File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
eng/pipelines/templates/steps Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 1919 versionSpec : $(PythonVersion)
2020
2121 - script : |
22- python -m pip install pip==20.0.2
22+ python -m pip install pip==24.0
2323 pip --version
2424 displayName: pip --version
2525
3232 $packages = Get-ChildItem "$(Pipeline.Workspace)/${{ parameters.ArtifactName }}/${{ parameters.Artifact.name }}/*.tar.gz"
3333 Write-Host "Artifacts found:"
3434 $artifacts = $packages | ForEach-Object {
35- if ($_.Name -match "([a-zA-Z\-]+)\-(.*).tar.gz") {
35+ if ($_.Name -match "([a-zA-Z\-\_ ]+)\-(.*).tar.gz") {
3636 Write-Host "$($matches[1]): $($matches[2])"
37- return @{ "name" = $matches[1]; "version" = $matches[2] }
37+ return @{ "name" = $matches[1].ToString().Replace("_", "-") ; "version" = $matches[2] }
3838 }
3939 }
4040 if ($artifacts.name -notcontains "${{parameters.Artifact.name}}") {
5858 displayName: Override requirements with pipeline build artifact versions
5959
6060 # Retry for pip install due to delay in package availability after publish
61- # The package is expected to be available for download/installation within 10 minutes
61+ # The package is expected to be available for download/installation within 10 minutes
6262 - pwsh : |
6363 $ErrorActionPreference = "Continue"
6464 while ($retries++ -lt 15) {
You can’t perform that action at this time.
0 commit comments