Skip to content

Commit

Permalink
Merge pull request #888 from unoplatform/dev/jela/update-core
Browse files Browse the repository at this point in the history
fix: Upgrade core packages
  • Loading branch information
dansiegel authored Aug 1, 2024
2 parents 88f4e28 + c78b7db commit a22b1c6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/Uno.Sdk.Updater/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,12 @@ static string GetManifestGroupVersionOverride(IEnumerable<ManifestGroup> manifes

static async Task<ManifestGroup> UpdateGroup(ManifestGroup group, NuGetVersion unoVersion, NuGetApiClient client)
{
if (group.Packages.Any(x => x.StartsWith("Xamarin")) || group.Group == "Core")
if (group.Group == "Core")
{
Console.WriteLine($"Setting Core group to: {unoVersion.OriginalVersion}");
return group with { Version = unoVersion };
}
else if (group.Packages.Any(x => x.StartsWith("Xamarin")))
{
Console.WriteLine("Leaving group as is: " + group.Group);
return group;
Expand Down

0 comments on commit a22b1c6

Please sign in to comment.