From b3fca978d019b10f9f983a2a0174ad4c1c7fb83e Mon Sep 17 00:00:00 2001 From: Will Schurman Date: Thu, 25 Apr 2024 09:18:13 -0700 Subject: [PATCH] [eas-cli] Fill in min expo-updates version for expo-updates CLI (#2344) --- CHANGELOG.md | 2 ++ packages/eas-cli/src/project/projectUtils.ts | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0cc310aadf..cfdad529bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,8 @@ This is the log of notable changes to EAS CLI and related packages. ### 🧹 Chores +- Fill in min expo-updates version for expo-updates CLI. ([#2344](https://github.com/expo/eas-cli/pull/2344) by [@wschurman](https://github.com/wschurman)) + ## [7.8.4](https://github.com/expo/eas-cli/releases/tag/v7.8.4) - 2024-04-24 ### 🧹 Chores 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(