Skip to content

Commit

Permalink
Added Gemfile.lock to git add files when calling update-ruby.sh (face…
Browse files Browse the repository at this point in the history
…book#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: facebook#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
  • Loading branch information
danilobuerger authored and facebook-github-bot committed Mar 25, 2022
1 parent b5343a6 commit 96c611b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/update-ruby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,6 @@ bundle lock
git add \
.ruby-version \
Gemfile \
Gemfile.lock \
template/_ruby-version \
template/Gemfile

0 comments on commit 96c611b

Please sign in to comment.