Update Tarball URL used by Homebrew (#421)

This commit is contained in:
Gustavo Passini 2023-10-24 15:33:15 -04:00 committed by GitHub
parent 28c0ee28f0
commit 70c215f7e2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -63,7 +63,7 @@ The last step is to update the Homebrew recipe to use the latest version. First,
```sh ```sh
# download the source archive from GitHub # download the source archive from GitHub
URL=https://github.com/fullstorydev/grpcurl/archive/v2.3.4.tar.gz URL=https://github.com/fullstorydev/grpcurl/archive/refs/tags/v2.3.4.tar.gz
curl -L -o tmp.tgz $URL curl -L -o tmp.tgz $URL
# and compute the SHA # and compute the SHA
SHA="$(sha256sum < tmp.tgz | awk '{ print $1 }')" SHA="$(sha256sum < tmp.tgz | awk '{ print $1 }')"

View File

@ -55,7 +55,7 @@ rm VERSION
# Homebrew release # Homebrew release
URL="https://github.com/fullstorydev/grpcurl/archive/${VERSION}.tar.gz" URL="https://github.com/fullstorydev/grpcurl/archive/refs/tags/${VERSION}.tar.gz"
curl -L -o tmp.tgz "$URL" curl -L -o tmp.tgz "$URL"
SHA="$(sha256sum < tmp.tgz | awk '{ print $1 }')" SHA="$(sha256sum < tmp.tgz | awk '{ print $1 }')"
rm tmp.tgz rm tmp.tgz