From 43ef2eefe75604781e356406631a2985cc6c8550 Mon Sep 17 00:00:00 2001 From: Chris Philips Date: Fri, 22 Mar 2024 11:39:06 -0700 Subject: [PATCH] Apply suggestions from code review --- src/setup-dotnet.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/setup-dotnet.ts b/src/setup-dotnet.ts index d6bdbdd..6147f12 100644 --- a/src/setup-dotnet.ts +++ b/src/setup-dotnet.ts @@ -120,11 +120,11 @@ function getVersionFromGlobalJson(globalJsonPath: string): string { break; case 'latestMinor': - version = `${major}`; + version = `${major}.x`; break; case 'latestFeature': - version = `${major}.${minor}`; + version = `${major}.${minor}.x`; break; case 'latestPatch':