SIGN IN SIGN UP
facebook / react-native UNCLAIMED

A framework for building native applications using React

Fix set-rn-version to account for codegen snapshot test files (#51157)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51157

test-js jobs are failing because the codegen snapshot tests generates a Podspecs withan hardcoded version that does not matches the version we are about to release.

This fix updates the script that set the RN version to make sure it also updates the Codegen snapshots.

This is a porting to `main` of [this PR](https://github.com/facebook/react-native/pull/51156).

## Changelog:
[Internal] - Fix set-rn-version to account for codegen snapshot test files

Reviewed By: fabriziocucci, cortinico

Differential Revision: D74321590

fbshipit-source-id: 6837e60a0a2834030680f7ec0c7584bf2622f33e
R
Riccardo Cipolleschi committed
130fb7fd30bc2cf5910fc31a445234aee63af642
Parent: 56b2690
Committed by Facebook GitHub Bot <facebook-github-bot@users.noreply.github.com> on 5/7/2025, 2:18:45 PM