Skip to content

Commit d99f940

Browse files
Sync eng/common directory with azure-sdk-tools for PR 10508 (Azure#6550)
* Wraper script for calling package properties * Tidy up path and serviceDirectoryName --------- Co-authored-by: Chidozie Ononiwu <[email protected]>
1 parent a742c81 commit d99f940

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

eng/common/scripts/Helpers/ApiView-Helpers.ps1

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,3 +229,12 @@ function Set-ApiViewCommentForPR {
229229
exit 1
230230
}
231231
}
232+
233+
function Save-PackageProperties ($repoRoot, $serviceNames, $outputDirectory) {
234+
$scriptPath = Join-Path $repoRoot "eng" "common" "scripts" "Save-Package-Properties.ps1"
235+
$serviceDirectories = $serviceNames -split ","
236+
237+
foreach ($serviceDirectory in $serviceDirectories) {
238+
& $scriptPath -ServiceDirectory $serviceDirectory.Trim() -OutDirectory $outputDirectory
239+
}
240+
}

0 commit comments

Comments
 (0)