From 163834b9110215340cf3e48816b406880532e08d Mon Sep 17 00:00:00 2001 From: "FAREAST\\chunyu" Date: Tue, 22 Oct 2024 14:16:29 +0800 Subject: [PATCH 1/2] run Update-Mgmt-CI.ps1 in automation --- eng/scripts/automation/GenerateAndBuildLib.ps1 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eng/scripts/automation/GenerateAndBuildLib.ps1 b/eng/scripts/automation/GenerateAndBuildLib.ps1 index 1bec3c7e9bed5..a57038a1d50dc 100644 --- a/eng/scripts/automation/GenerateAndBuildLib.ps1 +++ b/eng/scripts/automation/GenerateAndBuildLib.ps1 @@ -771,6 +771,10 @@ function GeneratePackage() } if ($isGenerateSuccess) { + # update resourcemanager ci.mgmt.yml for mgmt sdk + if ( $serviceType -eq "resource-manager" ) { + & $sdkRootPath/eng/scripts/Update-Mgmt-CI.ps1 + } # Build project when successfully generated the code Write-Host "Start to build sdk project: $srcPath" dotnet build $srcPath /p:RunApiCompat=$false From 6a647c3f9d2e6f578215b31756a539a1b881ad4e Mon Sep 17 00:00:00 2001 From: Crystal YU Date: Thu, 24 Oct 2024 09:38:31 +0800 Subject: [PATCH 2/2] Update eng/scripts/automation/GenerateAndBuildLib.ps1 Co-authored-by: Wes Haggard --- eng/scripts/automation/GenerateAndBuildLib.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/scripts/automation/GenerateAndBuildLib.ps1 b/eng/scripts/automation/GenerateAndBuildLib.ps1 index a57038a1d50dc..d09b09f8df3c0 100644 --- a/eng/scripts/automation/GenerateAndBuildLib.ps1 +++ b/eng/scripts/automation/GenerateAndBuildLib.ps1 @@ -772,7 +772,7 @@ function GeneratePackage() if ($isGenerateSuccess) { # update resourcemanager ci.mgmt.yml for mgmt sdk - if ( $serviceType -eq "resource-manager" ) { + if ($serviceType -eq "resource-manager") { & $sdkRootPath/eng/scripts/Update-Mgmt-CI.ps1 } # Build project when successfully generated the code