Fix RN GH example jobs failing after release bump

Summary: After running a flipper release, public builds start to failing as the yarn.lock file of ReactNativeFlipperExample is out of sync with the package.json. This diff fixes that

Reviewed By: passy

Differential Revision: D27591155

fbshipit-source-id: 84fa2d35b5f41ba9a28cfecabbaf6a2a082791db
This commit is contained in:
Michel Weststrate
2021-04-07 03:06:57 -07:00
committed by Facebook GitHub Bot
parent 6479c7e642
commit ebcb535fd3

View File

@@ -45,6 +45,8 @@ SNAPSHOT_VERSION="$(echo "$VERSION" | sed -Ee 's/([0-9]+)\.([0-9]+)\.([0-9]+)/\1
echo "Bumping version number for android related files..."
# Update Android related files
"$SONAR_DIR"/scripts/bump.sh "$VERSION"
# Update lock file as a result of version bump
yarn --ignore-scripts --cwd "$SONAR_DIR"/react-native/ReactNativeFlipperExample
# Generate changelog
$nodejs "$DESKTOP_DIR"/scripts/generate-changelog.js