Skip to content

Commit

Permalink
Ensure tags maintain - in package names within tags (#37009)
Browse files Browse the repository at this point in the history
* handle _ in the package name

* Update eng/scripts/Language-Settings.ps1
  • Loading branch information
scbedd authored Aug 23, 2024
1 parent a942d7a commit 677f962
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions eng/scripts/Language-Settings.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,9 @@ function Get-python-PackageInfoFromPackageFile ($pkg, $workingDirectory)
$pkg.Basename -match $SDIST_PACKAGE_REGEX | Out-Null

$pkgId = $matches["package"]
$pkgId = $pkgId.Replace("_","-")
$docsReadMeName = $pkgId -replace "^azure-" , ""

$pkgVersion = $matches["versionstring"]

$workFolder = "$workingDirectory$($pkg.Basename)"
Expand Down

0 comments on commit 677f962

Please sign in to comment.