mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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 fbshipit-source-id: 5a1edd9f7a6cd756521749c2b0023ea683dadf82
This commit is contained in:
1 parent
92a41b0a37
commit
e23a285ffe
1 file changed
-23
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user