Unconditionally upgrade installed Brew packages on OSX (#33481)
authorJo Shields <directhex@apebox.org>
Wed, 11 Mar 2020 16:42:11 +0000 (12:42 -0400)
committerGitHub <noreply@github.com>
Wed, 11 Mar 2020 16:42:11 +0000 (09:42 -0700)
commita15b2a2f23433acfe2370325f0bf4675016500bd
treed3e9b9334359f6bd72636ddb6ade2db515bf6722
parent99af7453a356b7b564a0d21bf644f164858d1010
Unconditionally upgrade installed Brew packages on OSX (#33481)

With Apt, if you have X 1.0 installed, 1.1 exists in the package manifest, and say "install X", X is upgraded to 1.1. With Brew, a fatal error is thrown.

Blindly upgrading all previously installed packages is not ideal, and not a perfect mirror for the Apt behaviour, but it should mean that if X is previously installed it gets upgraded (causing a warning during install, when it's asked to be installed again with the same version), and if it's not already installed then it gets installed later.

Closes: https://github.com/dotnet/runtime/issues/33471
eng/install-native-dependencies.sh