From 70c215f7e2c272fdccb9386bbbff5dbc49fdd4fb Mon Sep 17 00:00:00 2001 From: Gustavo Passini Date: Tue, 24 Oct 2023 15:33:15 -0400 Subject: [PATCH] Update Tarball URL used by Homebrew (#421) --- releasing/README.md | 2 +- releasing/do-release.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/releasing/README.md b/releasing/README.md index f77f7ef3..5a306fdc 100644 --- a/releasing/README.md +++ b/releasing/README.md @@ -63,7 +63,7 @@ The last step is to update the Homebrew recipe to use the latest version. First, ```sh # 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 # and compute the SHA SHA="$(sha256sum < tmp.tgz | awk '{ print $1 }')" diff --git a/releasing/do-release.sh b/releasing/do-release.sh index ab027bdc..4c9d44e7 100755 --- a/releasing/do-release.sh +++ b/releasing/do-release.sh @@ -55,7 +55,7 @@ rm VERSION # 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" SHA="$(sha256sum < tmp.tgz | awk '{ print $1 }')" rm tmp.tgz