From 96c611b5e8cfc5a1f1354160decd2c3e883839dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Danilo=20B=C3=BCrger?= Date: Fri, 25 Mar 2022 08:01:41 -0700 Subject: [PATCH] Added Gemfile.lock to git add files when calling update-ruby.sh (#33484) Summary: In https://github.com/facebook/react-native/blob/main/scripts/update-ruby.sh#L61 ```bash bundle lock ``` is called which creates a Gemfile.lock in the rn root. This file should be in the git add files list along with the other files that get updated by that script. ## Changelog [Internal] [Fixed] - Added Gemfile.lock to git add files when calling update-ruby.sh Pull Request resolved: https://github.com/facebook/react-native/pull/33484 Test Plan: Call update-ruby.sh with or without this patch. Without this patch, the Gemfile.lock will not be staged, with this patch, the Gemfile.lock will be staged. Reviewed By: GijsWeterings Differential Revision: D35118250 Pulled By: cortinico fbshipit-source-id: 80f2c7fad6fbc3f09697988dcc20f7ac94a21473 --- scripts/update-ruby.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/update-ruby.sh b/scripts/update-ruby.sh index 9b5273d6dc161b..ffba2865c629a8 100755 --- a/scripts/update-ruby.sh +++ b/scripts/update-ruby.sh @@ -63,5 +63,6 @@ bundle lock git add \ .ruby-version \ Gemfile \ + Gemfile.lock \ template/_ruby-version \ template/Gemfile