Ensure tags maintain `-` in package names within tags (#37009)
* handle _ in the package name * Update eng/scripts/Language-Settings.ps1
This commit is contained in:
Родитель
a942d7ad00
Коммит
677f96286d
|
@ -92,7 +92,9 @@ function Get-python-PackageInfoFromPackageFile ($pkg, $workingDirectory)
|
||||||
$pkg.Basename -match $SDIST_PACKAGE_REGEX | Out-Null
|
$pkg.Basename -match $SDIST_PACKAGE_REGEX | Out-Null
|
||||||
|
|
||||||
$pkgId = $matches["package"]
|
$pkgId = $matches["package"]
|
||||||
|
$pkgId = $pkgId.Replace("_","-")
|
||||||
$docsReadMeName = $pkgId -replace "^azure-" , ""
|
$docsReadMeName = $pkgId -replace "^azure-" , ""
|
||||||
|
|
||||||
$pkgVersion = $matches["versionstring"]
|
$pkgVersion = $matches["versionstring"]
|
||||||
|
|
||||||
$workFolder = "$workingDirectory$($pkg.Basename)"
|
$workFolder = "$workingDirectory$($pkg.Basename)"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче