mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
[LOCAL] Force the right version on Artifacts when testing
This commit is contained in:
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();
|
||||
|
||||
@@ -117,6 +117,8 @@ async function publishNpm(buildType /*: BuildType */) /*: Promise<void> */ {
|
||||
await updateHermesVersionsToNightly();
|
||||
}
|
||||
await updateReactNativeArtifacts(version, buildType);
|
||||
} else {
|
||||
await updateReactNativeArtifacts(projectInfo.version, buildType);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user