Skip to content

Commit

Permalink
minor install.sh change
Browse files Browse the repository at this point in the history
  • Loading branch information
hamza72x committed Feb 20, 2023
1 parent 365041a commit 48cb249
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ if [ "$arch" = "x86_64" ]; then
arch="amd64"
fi

if [ "$goos" = "aarch64" ]; then
goos="arm64"
fi

latest_tag=$(curl -sL https://api.github.com/repos/hamza72x/brewc/tags | jq -r '.[0].name' | cut -d 'v' -f 2)
url=https://github.com/hamza72x/brewc/releases/download/v$latest_tag/brewc_$latest_tag\_$goos\_$arch.tar.gz

Expand Down

0 comments on commit 48cb249

Please sign in to comment.