Fix brew-update script, their commands changed (#2711)

Signed-off-by: Nolan Brubaker <brubakern@vmware.com>
This commit is contained in:
Nolan Brubaker
2020-07-16 18:49:06 -04:00
committed by GitHub
parent eff358e27e
commit 2376b697af

8
hack/brew-update.sh Normal file → Executable file
View File

@@ -18,11 +18,5 @@ URL=https://github.com/vmware-tanzu/velero/archive/$VELERO_VERSION.tar.gz
# Update brew so we're sure we have the latest Velero formula
brew update
# Download the Velero source tarball
curl $URL --output velero-$VELERO_VERSION.tar.gz
# Calculate the SHA 256 of the source tarball, since this is needed to bump the formula.
SHA256=$(shasum -a 256 velero-$VELERO_VERSION.tar.gz)
# Invoke brew's helper function, which will run all their tests and end up opening a browser with the resulting PR.
brew bump-formula-pr --url $URL --sha256 $SHA256
brew bump-formula-pr velero --url=$URL