Skip to content

Commit 2c21280

Browse files
authoredOct 24, 2023
Update Tarball URL used by Homebrew (#277)
While releasing `grpcurl@v1.8.9`, I encountered an error described in fullstorydev/grpcurl#421. A similar change happened in `grpcui`'s Homebrew formula: Homebrew/homebrew-core@c845f04 We probably need to update the Tarball URL used to update our Homebrew formula as well.
1 parent 73a517a commit 2c21280

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎releasing/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ The last step is to update the Homebrew recipe to use the latest version. First,
7474

7575
```sh
7676
# download the source archive from GitHub
77-
URL=https://github.com/fullstorydev/grpcui/archive/v2.3.4.tar.gz
77+
URL=https://github.com/fullstorydev/grpcui/archive/refs/tags/v2.3.4.tar.gz
7878
curl -L -o tmp.tgz $URL
7979
# and compute the SHA
8080
SHA="$(sha256sum < tmp.tgz | awk '{ print $1 }')"

‎releasing/do-release.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ rm VERSION
5454

5555
# Homebrew release
5656

57-
URL="https://github.com/fullstorydev/grpcui/archive/${VERSION}.tar.gz"
57+
URL="https://github.com/fullstorydev/grpcui/archive/refs/tags/${VERSION}.tar.gz"
5858
curl -L -o tmp.tgz "$URL"
5959
SHA="$(sha256sum < tmp.tgz | awk '{ print $1 }')"
6060
rm tmp.tgz

0 commit comments

Comments
 (0)