Skip to content

Commit 3e6546c

Browse files
j-piaseckimeta-codesync[bot]
authored andcommitted
Update test-release-local script (#54385)
Summary: Pull Request resolved: #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
1 parent 6515ada commit 3e6546c

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

scripts/release-testing/test-release-local.js

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
* and to make it more accessible for other devs to play around with.
1818
*/
1919

20-
import {getPackageVersionStrByTag} from '../releases/utils/npm-utils';
21-
2220
const {initNewProjectFromSource} = require('../e2e/init-project-e2e');
2321
const {REPO_ROOT} = require('../shared/consts');
2422
const {
@@ -250,27 +248,6 @@ async function testRNTestProject(
250248
? path.join(ciArtifacts.baseTmpPath(), 'maven-local')
251249
: '/private/tmp/maven-local';
252250

253-
const latestHermesCommitly = await getPackageVersionStrByTag(
254-
'hermes-compiler',
255-
'nightly',
256-
);
257-
const latestHermesV1 = await getPackageVersionStrByTag(
258-
'hermes-compiler',
259-
'latest-v1',
260-
);
261-
sed(
262-
'-i',
263-
'HERMES_VERSION_NAME=.*',
264-
`HERMES_VERSION_NAME=${latestHermesCommitly}`,
265-
'sdks/hermes-engine/version.properties',
266-
);
267-
sed(
268-
'-i',
269-
'HERMES_V1_VERSION_NAME=.*',
270-
`HERMES_V1_VERSION_NAME=${latestHermesV1}`,
271-
'sdks/hermes-engine/version.properties',
272-
);
273-
274251
const {newLocalNodeTGZ} = await prepareArtifacts(
275252
ciArtifacts,
276253
mavenLocalPath,

0 commit comments

Comments
 (0)