Skip to content

Commit

Permalink
Fix download path in version
Browse files Browse the repository at this point in the history
  • Loading branch information
raimon49 committed Mar 28, 2024
1 parent 904b78a commit af219b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ download_release() {
version="$1"
filename="$2"

url="$GH_REPO/releases/download/${version}/${filename}"
url="$GH_REPO/releases/download/v${version}/${filename}"

echo "* Downloading $TOOL_NAME release $version..."
curl "${curl_opts[@]}" -o "$filename" -C - "$url" || fail "Could not download $url"
Expand Down

0 comments on commit af219b2

Please sign in to comment.