From 91d237a8991ad92e63ccabd5a348460ec4f81d5a Mon Sep 17 00:00:00 2001 From: Dan Siegel Date: Thu, 1 Aug 2024 07:49:14 -0600 Subject: [PATCH] chore: skip Maui update on Release branch (cherry picked from commit c699608c0e3d7b3bf97d3e6beafdb600714c8083) --- tools/Uno.Sdk.Updater/Program.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tools/Uno.Sdk.Updater/Program.cs b/tools/Uno.Sdk.Updater/Program.cs index aec0d8ed..2703bfd0 100644 --- a/tools/Uno.Sdk.Updater/Program.cs +++ b/tools/Uno.Sdk.Updater/Program.cs @@ -291,7 +291,10 @@ static async Task UpdateGroup(ManifestGroup group, NuGetVersion u Console.WriteLine($"Setting Core group to: {unoVersion.OriginalVersion}"); return group with { Version = unoVersion }; } - else if (group.Packages.Any(x => x.StartsWith("Xamarin"))) + // Skip AndroidX packages to avoid Java misalignment + else if (group.Packages.Any(x => x.StartsWith("Xamarin")) + // Skip Maui on Release branch to avoid AndroidX package misalignment + || (!unoVersion.IsPreview && group.Group == "Maui")) { Console.WriteLine("Leaving group as is: " + group.Group); return group;