diff --git a/eng/scripts/Language-Settings.ps1 b/eng/scripts/Language-Settings.ps1 index 7559f37289f04..8b991880e2e45 100644 --- a/eng/scripts/Language-Settings.ps1 +++ b/eng/scripts/Language-Settings.ps1 @@ -64,6 +64,7 @@ function Get-dotnet-PackageInfoFromPackageFile ($pkg, $workingDirectory) Expand-Archive -Path $zipFileLocation -DestinationPath $workFolder [xml] $packageXML = Get-ChildItem -Path "$workFolder/*.nuspec" | Get-Content $pkgId = $packageXML.package.metadata.id + $docsReadMeName = $pkgId -replace "^Azure." , "" $pkgVersion = $packageXML.package.metadata.version $changeLogLoc = @(Get-ChildItem -Path $workFolder -Recurse -Include "CHANGELOG.md")[0] @@ -87,6 +88,7 @@ function Get-dotnet-PackageInfoFromPackageFile ($pkg, $workingDirectory) Deployable = $forceCreate -or !(IsNugetPackageVersionPublished -pkgId $pkgId -pkgVersion $pkgVersion) ReleaseNotes = $releaseNotes ReadmeContent = $readmeContent + DocsReadMeName = $docsReadMeName } } @@ -235,4 +237,4 @@ function GetExistingPackageVersions ($PackageName, $GroupId=$null) LogError "Failed to retrieve package versions. `n$_" return $null } -} \ No newline at end of file +}