Skip to content

Commit e1f39b2

Browse files
committed
handle _ in the package name
1 parent a27efae commit e1f39b2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

eng/scripts/Language-Settings.ps1

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,10 @@ function Get-python-PackageInfoFromPackageFile ($pkg, $workingDirectory)
9292
$pkg.Basename -match $SDIST_PACKAGE_REGEX | Out-Null
9393

9494
$pkgId = $matches["package"]
95+
$pkgId = $pkgId.Replace("_","-")
9596
$docsReadMeName = $pkgId -replace "^azure-" , ""
97+
98+
Read-Host "Extracting package $pkgId"
9699
$pkgVersion = $matches["versionstring"]
97100

98101
$workFolder = "$workingDirectory$($pkg.Basename)"

0 commit comments

Comments
 (0)