From 6743abab8a5be299bfbf18f346b7ce7c0cd14b3c Mon Sep 17 00:00:00 2001 From: Will Schurman Date: Wed, 24 Apr 2024 16:47:52 -0700 Subject: [PATCH] [eas-cli] Fill in min expo-updates version for expo-updates CLI --- packages/eas-cli/src/project/projectUtils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eas-cli/src/project/projectUtils.ts b/packages/eas-cli/src/project/projectUtils.ts index 83998e6ef8..a6b3800a42 100644 --- a/packages/eas-cli/src/project/projectUtils.ts +++ b/packages/eas-cli/src/project/projectUtils.ts @@ -165,8 +165,8 @@ export async function isModernExpoUpdatesCLIWithRuntimeVersionCommandSupportedAs return true; } - // TODO(wschurman): add semver check once we know the SDK51 version of expo-updates that supports this - return false; + // Anything SDK 51 or greater uses the expo-updates CLI + return semver.gte(expoUpdatesPackageVersion, '0.25.4'); } export async function installExpoUpdatesAsync(