Skip empty sync commits (both repos) (#29707)
Requires https://github.com/facebook/react/pull/29706
The strategy here is to:
- Checkout the builds/facebook-www branch
- Read the current sync'd VERSION
- Checkout out main and sync new build
- sed/{new version string}/{old version string}
- Run git status, skip sync if clean
- Otherwise, sed/{old version string}/{new version string} and push
commit
This means that:
- We're using the real version strings from the builds
- We are checking the last commit on the branch for the real last
version
- We're skipping any commits that won't result in changes
- ???
- Profit! R
Ricky committed
5ad2c37273b7c192011010c6bdb9ac0a4c9c232f
Parent: ba099e4
Committed by GitHub <[email protected]>
on 6/3/2024, 2:09:23 PM