Skip to content

Commit 5515106

Browse files
authored
Merge pull request #33 from jaysonsantos/fix-install-script
chore: Fix install script
2 parents f6dfbf0 + 964f27b commit 5515106

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ function download_binary {
2828
local download_url
2929

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

3333
echo "Downloading binary $download_url"
3434
curl -Ls "$download_url" -o "$name"

0 commit comments

Comments
 (0)