diff --git a/eng/common/scripts/Helpers/ApiView-Helpers.ps1 b/eng/common/scripts/Helpers/ApiView-Helpers.ps1 index e6283cf82..a05ca868d 100644 --- a/eng/common/scripts/Helpers/ApiView-Helpers.ps1 +++ b/eng/common/scripts/Helpers/ApiView-Helpers.ps1 @@ -229,3 +229,12 @@ function Set-ApiViewCommentForPR { exit 1 } } + +function Save-PackageProperties ($repoRoot, $serviceNames, $outputDirectory) { + $scriptPath = Join-Path $repoRoot "eng" "common" "scripts" "Save-Package-Properties.ps1" + $serviceDirectories = $serviceNames -split "," + + foreach ($serviceDirectory in $serviceDirectories) { + & $scriptPath -ServiceDirectory $serviceDirectory.Trim() -OutDirectory $outputDirectory + } +}