From ebcb535fd330be1d82c2d496ad8a26e1e428a65f Mon Sep 17 00:00:00 2001 From: Michel Weststrate Date: Wed, 7 Apr 2021 03:06:57 -0700 Subject: [PATCH] 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 --- scripts/prepare-release.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/prepare-release.sh b/scripts/prepare-release.sh index a63f458f5..9b9292dfa 100755 --- a/scripts/prepare-release.sh +++ b/scripts/prepare-release.sh @@ -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