Open
Description
Hi 👋 I'm coming from react-native-community/upgrade-helper#325, I'm planning to implement support for nightly builds in the upgrade-helper tool. After studying the codebase for some time, I saw that it uses this repo to obtain the diffs between the versions.
From what I understood here:
- When there is a new RN release, you run the
new-release.sh
script manually (passing the version as a argument) to do all the work of creating the projects to create the diffs, creating a new branch here, updating version tables, etc. upgrade-helper
will use RELEASES file to list the versions on the website. Then, when selecting a version, it will fetch the corresponding diff file in thediff
branch to display it.
So, first I'll have to add support for nightly releases in this repo in order to add the support in upgrade-helper
tool. With that in mind, I have some questions:
- At the moment, are you still running the script manually? If yes, do you have plans to do this automatically? I don't have much knowledge of GH Actions capabilities, but maybe we could set up an schedule to check for new releases in
react-native
repo every day? - The nightly versions have this version pattern on NPM e.g.
0.73.0-nightly-20230701-eca0d1231
, and only the nightly versions of the next release are kept (when a new release is out, the older nightly versions are removed). So, I guess we'll need to take a similar approach here:- When a new stable or RC release is out, remove the old nightly versions from RELEASES file (maybe remove from
diffs
branch as well?)
- When a new stable or RC release is out, remove the old nightly versions from RELEASES file (maybe remove from
- Does it make sense to add those nightly releases to the HTML table? Personally I think that we shouldn't add, because we are going to have so many entries very quickly (as the nightly builds are generated every day) and it will clutter the list.
Overall, wdyt about this support for nightly builds? Please let me know if you have any questions or feedback!
Metadata
Assignees
Labels
No labels