Skip to content

Commit

Permalink
drop r from version
Browse files Browse the repository at this point in the history
  • Loading branch information
gilesw committed Nov 27, 2024
1 parent b0272ca commit e3bc447
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 @@ -53,7 +53,7 @@ download_release() {
aarch64 | arm64) arch=arm64 ;;
esac

url="$GH_REPO/releases/download/r${version}/p2cli_r${version}_${platform}-${arch}.tar.gz"
url="$GH_REPO/releases/download/${version}/p2cli_${version}_${platform}-${arch}.tar.gz"

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

0 comments on commit e3bc447

Please sign in to comment.