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