diff --git a/hack/brew-update.sh b/hack/brew-update.sh old mode 100644 new mode 100755 index 88361d2e6..dfb1f52be --- a/hack/brew-update.sh +++ b/hack/brew-update.sh @@ -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