From 4931f8bff00b73358aa9509246e2161dd1013e9d Mon Sep 17 00:00:00 2001 From: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Date: Mon, 1 Feb 2021 16:02:51 -0800 Subject: [PATCH] Update eng/scripts/Language-Settings.ps1 Co-authored-by: Wes Haggard --- eng/scripts/Language-Settings.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index 0515c7e8dffa3..6611a884d1b52 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -64,7 +64,7 @@ function Get-java-PackageInfoFromPackageFile ($pkg, $workingDirectory) [xml]$contentXML = Get-Content $pkg $pkgId = $contentXML.project.artifactId - $docsReadMeName = $pkgId -replace "azure-" , "" + $docsReadMeName = $pkgId -replace "^azure-" , "" $pkgVersion = $contentXML.project.version $groupId = if ($contentXML.project.groupId -eq $null) { $contentXML.project.parent.groupId } else { $contentXML.project.groupId } $releaseNotes = ""