[LOCAL] Force the right version on Artifacts when testing

This commit is contained in:
Riccardo Cipolleschi committed 2025-11-11 12:31:39 +00:00
1 parent 19359ed095
commit 042403fdff
2 files changed
+3 -1

No files matched your search

@@ -176,7 +176,7 @@ describe('publish-npm', () => {
expect(updateHermesVersionsToNightlyMock).not.toHaveBeenCalled();
expect(setVersionMock).not.toBeCalled();
expect(updateReactNativeArtifactsMock).not.toBeCalled();
expect(updateReactNativeArtifactsMock).toBeCalledWith(version, 'dry-run');
// Generate Android artifacts is now delegate to build_android entirely
expect(generateAndroidArtifactsMock).not.toHaveBeenCalled();
+2
View File
@@ -117,6 +117,8 @@ async function publishNpm(buildType /*: BuildType */) /*: Promise<void> */ {
await updateHermesVersionsToNightly();
}
await updateReactNativeArtifacts(version, buildType);
} else {
await updateReactNativeArtifacts(projectInfo.version, buildType);
}
}