Skip to content

Conversation

@cipolleschi
Copy link
Contributor

@cipolleschi cipolleschi commented Mar 28, 2025

Summary:

This workflow bumps the Podfile.lock automatically when a new release happens.
I decided not to use a js script in this case because all the commands are bash commands for git or cocoapods, therefore wrapping them all in a JS file would have added little to no benefit and only overheads.

Changelog:

[Internal] - Bumps podfile.lock automatically

Test Plan:

GHA - tested as a separate workflow first, hardcoding the latest RC
https://github.com/facebook/react-native/actions/runs/14127895380/job/39581024861?pr=50345

The flow correctly fails as the Podfile.lock has already been bumped in the release branch.

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Mar 28, 2025
@cipolleschi cipolleschi force-pushed the cipolleschi/automatically-bump-podfile-lock branch 6 times, most recently from 3323fc6 to 19e72e7 Compare March 28, 2025 11:30
@cipolleschi cipolleschi marked this pull request as ready for review March 28, 2025 11:31
@cipolleschi cipolleschi force-pushed the cipolleschi/automatically-bump-podfile-lock branch from 19e72e7 to 3b8d68e Compare March 28, 2025 11:32
Summary:
This change implements the automatic generation of the Changelog in CI while doing a release.
The output is a PR opened by the react-native-bot that can be manipulated and imported by Meta engineers

[Internal] - Generate the changelog automatically

Pull Request resolved: #50323

Test Plan:
Tested as a separated workflow first:
<img width="1624" alt="Screenshot 2025-03-27 at 17 44 47" src="https://github.com/user-attachments/assets/b8877cdb-f63b-4d82-b340-54f612ac0cd4" />
this generated the PR:
#50328

I also added jest tests:
<img width="516" alt="Screenshot 2025-03-27 at 17 45 39" src="https://github.com/user-attachments/assets/7ebbc310-e41e-48fc-997e-21366c7306cf" />

Reviewed By: cortinico

Differential Revision: D71986909

Pulled By: cipolleschi

fbshipit-source-id: 10ffaf342bb0642a6992a107185b6704815b16e3
@cipolleschi cipolleschi force-pushed the cipolleschi/automatically-bump-podfile-lock branch from 3b8d68e to 1329de2 Compare March 28, 2025 11:34
@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Mar 28, 2025
@facebook-github-bot
Copy link
Contributor

@cipolleschi merged this pull request in 7f550e2.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @cipolleschi in 7f550e2

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants