Skip to content

Commit

Permalink
fix arch
Browse files Browse the repository at this point in the history
  • Loading branch information
nsaputro-shell committed Jan 3, 2024
1 parent a9080f5 commit 04e75ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/utils.bash
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,10 @@ download_release() {
local version="$1"
local filename="$2"
local platform="$(get_platform)"
local arch="$(get_platform)"
local arch="$(get_arch)"

local url="$GH_REPO/releases/download/v${version}/monaco-${platform}-${arch}"

echo $url

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

Expand Down

0 comments on commit 04e75ed

Please sign in to comment.