Skip to content

Commit

Permalink
Update Tarball URL used by Homebrew (#277)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
gpassini committed Oct 24, 2023
1 parent 73a517a commit 2c21280
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion releasing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,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/grpcui/archive/v2.3.4.tar.gz
URL=https://github.com/fullstorydev/grpcui/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 }')"
Expand Down
2 changes: 1 addition & 1 deletion releasing/do-release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ rm VERSION

# Homebrew release

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

0 comments on commit 2c21280

Please sign in to comment.