Skip to content

Commit 4fde38e

Browse files
sdk\resourcemanager\ci.mgmt.yml sorting explicitly for consistency in docker environment. (Azure#47458)
* Update GenerateAndBuildLib.ps1 * Update GenerateAndBuildLib.ps1 * Update eng/scripts/automation/GenerateAndBuildLib.ps1 Co-authored-by: Dapeng Zhang <[email protected]> --------- Co-authored-by: Dapeng Zhang <[email protected]>
1 parent f934363 commit 4fde38e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

eng/scripts/automation/GenerateAndBuildLib.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ function RegisterMgmtSDKToMgmtCoreClient () {
183183
param(
184184
[string]$packagesPath
185185
)
186-
$track2MgmtDirs = Get-ChildItem -Path "$packagesPath" -Directory -Recurse -Depth 1 | Where-Object { $_.Name -match "(Azure.ResourceManager.)" -and $(Test-Path("$($_.FullName)/src")) }
186+
$track2MgmtDirs = Get-ChildItem -Path "$packagesPath" -Directory -Recurse -Depth 1 | Where-Object { $_.Name -match "(Azure.ResourceManager.)" -and $(Test-Path("$($_.FullName)/src")) } | Sort-Object -Property { (Split-Path $_.FullName -Parent) }
187187
Write-Host "Updating mgmt core client ci.mgmt.yml"
188188
#add path for each mgmt library into Azure.ResourceManager
189189
$armCiFile = "$packagesPath/resourcemanager/ci.mgmt.yml"

0 commit comments

Comments
 (0)