Skip to content

Commit

Permalink
this might be a fairly simple change
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd committed Aug 27, 2024
1 parent 072f823 commit c1a6a4e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions eng/pipelines/templates/steps/smoke-test-steps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ steps:
versionSpec: $(PythonVersion)

- script: |
python -m pip install pip==20.0.2
python -m pip install pip==24.0
pip --version
displayName: pip --version
Expand All @@ -32,9 +32,9 @@ steps:
$packages = Get-ChildItem "$(Pipeline.Workspace)/${{ parameters.ArtifactName }}/${{ parameters.Artifact.name }}/*.tar.gz"
Write-Host "Artifacts found:"
$artifacts = $packages | ForEach-Object {
if ($_.Name -match "([a-zA-Z\-]+)\-(.*).tar.gz") {
if ($_.Name -match "([a-zA-Z\-\_]+)\-(.*).tar.gz") {
Write-Host "$($matches[1]): $($matches[2])"
return @{ "name" = $matches[1]; "version" = $matches[2] }
return @{ "name" = $matches[1].ToString().Replace("_", "-"); "version" = $matches[2] }
}
}
if ($artifacts.name -notcontains "${{parameters.Artifact.name}}") {
Expand All @@ -58,7 +58,7 @@ steps:
displayName: Override requirements with pipeline build artifact versions
# Retry for pip install due to delay in package availability after publish
# The package is expected to be available for download/installation within 10 minutes
# The package is expected to be available for download/installation within 10 minutes
- pwsh: |
$ErrorActionPreference = "Continue"
while ($retries++ -lt 15) {
Expand Down

0 comments on commit c1a6a4e

Please sign in to comment.