diff options
author | Ryan Lucia <rylucia@microsoft.com> | 2020-07-28 14:07:25 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 14:07:25 +0300 |
commit | 18316b6d305b13e66ee2fe910e59ad6fe018aea4 (patch) | |
tree | 69ee0dee144376b179caae2c7ce9f994c4f75c72 /eng/install-native-dependencies.sh | |
parent | 43670d59e25a6f9b5e6aeb8d1fd7cff1abe6d947 (diff) |
Add brew update before brew bundle (#39999)
Every lane appears to be failing because of an issue with brew bundle expecting the latest homebrew but not automatically updating: https://github.com/Homebrew/homebrew-bundle/issues/751
So forcibly update, which is apparently good practice anyway: https://github.com/Homebrew/homebrew-bundle/issues/751#issuecomment-664958735
Diffstat (limited to 'eng/install-native-dependencies.sh')
-rwxr-xr-x | eng/install-native-dependencies.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/eng/install-native-dependencies.sh b/eng/install-native-dependencies.sh index 00be5a62872..e8ab193c2d5 100755 --- a/eng/install-native-dependencies.sh +++ b/eng/install-native-dependencies.sh @@ -11,6 +11,7 @@ if [ "$1" = "Linux" ]; then fi elif [ "$1" = "OSX" ] || [ "$1" = "tvOS" ] || [ "$1" = "iOS" ]; then engdir=$(dirname "${BASH_SOURCE[0]}") + brew update --preinstall brew bundle --no-lock --file "${engdir}/Brewfile" if [ "$?" != "0" ]; then exit 1; |