Skip to content

Commit

Permalink
Merge pull request #33 from jaysonsantos/fix-install-script
Browse files Browse the repository at this point in the history
chore: Fix install script
  • Loading branch information
jaysonsantos authored May 11, 2023
2 parents f6dfbf0 + 964f27b commit 5515106
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ function download_binary {
local download_url

name="$1"
download_url=$(curl "$PROJECT_RELEASE_URL" | grep -o "https://.*/${name}")
download_url=$(curl "$PROJECT_RELEASE_URL" | grep -o "https://.*/${name}" | head -n 1)

echo "Downloading binary $download_url"
curl -Ls "$download_url" -o "$name"
Expand Down

0 comments on commit 5515106

Please sign in to comment.