From 3e6546cf5bb66afff0336094d1c6083a16d7a42f Mon Sep 17 00:00:00 2001 From: Jakub Piasecki Date: Mon, 3 Nov 2025 23:12:02 -0800 Subject: [PATCH] Update `test-release-local` script (#54385) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/54385 Changelog: [Internal] `test-release-local` shouldn't be changing the hermes version stored in `version.properties` as this script should be called on a cut branch with hermes already bumped. Reviewed By: cipolleschi Differential Revision: D86105703 --- scripts/release-testing/test-release-local.js | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/scripts/release-testing/test-release-local.js b/scripts/release-testing/test-release-local.js index b0cfebf19ba5..936f4b7252b9 100644 --- a/scripts/release-testing/test-release-local.js +++ b/scripts/release-testing/test-release-local.js @@ -17,8 +17,6 @@ * and to make it more accessible for other devs to play around with. */ -import {getPackageVersionStrByTag} from '../releases/utils/npm-utils'; - const {initNewProjectFromSource} = require('../e2e/init-project-e2e'); const {REPO_ROOT} = require('../shared/consts'); const { @@ -250,27 +248,6 @@ async function testRNTestProject( ? path.join(ciArtifacts.baseTmpPath(), 'maven-local') : '/private/tmp/maven-local'; - const latestHermesCommitly = await getPackageVersionStrByTag( - 'hermes-compiler', - 'nightly', - ); - const latestHermesV1 = await getPackageVersionStrByTag( - 'hermes-compiler', - 'latest-v1', - ); - sed( - '-i', - 'HERMES_VERSION_NAME=.*', - `HERMES_VERSION_NAME=${latestHermesCommitly}`, - 'sdks/hermes-engine/version.properties', - ); - sed( - '-i', - 'HERMES_V1_VERSION_NAME=.*', - `HERMES_V1_VERSION_NAME=${latestHermesV1}`, - 'sdks/hermes-engine/version.properties', - ); - const {newLocalNodeTGZ} = await prepareArtifacts( ciArtifacts, mavenLocalPath,