Skip to content

Commit

Permalink
Add brew update before brew bundle (dotnet#39999)
Browse files Browse the repository at this point in the history
Every lane appears to be failing because of an issue with brew bundle expecting the latest homebrew but not automatically updating: Homebrew/homebrew-bundle#751
So forcibly update, which is apparently good practice anyway: Homebrew/homebrew-bundle#751 (comment)
  • Loading branch information
CoffeeFlux authored Jul 28, 2020
1 parent 43670d5 commit 18316b6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions eng/install-native-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 18316b6

Please sign in to comment.