diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index 4428e99cf6775..6611a884d1b52 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -64,6 +64,7 @@ function Get-java-PackageInfoFromPackageFile ($pkg, $workingDirectory) [xml]$contentXML = Get-Content $pkg $pkgId = $contentXML.project.artifactId + $docsReadMeName = $pkgId -replace "^azure-" , "" $pkgVersion = $contentXML.project.version $groupId = if ($contentXML.project.groupId -eq $null) { $contentXML.project.parent.groupId } else { $contentXML.project.groupId } $releaseNotes = "" @@ -92,6 +93,7 @@ function Get-java-PackageInfoFromPackageFile ($pkg, $workingDirectory) Deployable = $forceCreate -or !(IsMavenPackageVersionPublished -pkgId $pkgId -pkgVersion $pkgVersion -groupId $groupId.Replace(".", "/")) ReleaseNotes = $releaseNotes ReadmeContent = $readmeContent + DocsReadMeName = $docsReadMeName } } @@ -271,4 +273,4 @@ function GetExistingPackageVersions ($PackageName, $GroupId=$null) LogError "Failed to retrieve package versions. `n$_" return $null } -} \ No newline at end of file +}