Skip to content

Commit 6fc0742

Browse files
committed
fixup
1 parent 40f9f9b commit 6fc0742

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/utils.bash

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ download_release() {
4848
local ext
4949
ext="$(get_ext)"
5050
# https://github.com/tj-actions/auto-doc/releases/download/v2.7.1/auto-doc_2.7.1_Linux_x86_64.tar.gz
51-
url="$GH_REPO/releases/download/v${version}/$(get_tool_cmd)_${platform_and_arch}${ext}"
51+
url="$GH_REPO/releases/download/v${version}/$(get_tool_cmd)-${platform_and_arch}${ext}"
5252

5353
echo "* Downloading $TOOL_NAME release $version..."
5454
curl "${curl_opts[@]}" -o "$filename" -C - "$url" || fail "Could not download $url"
@@ -90,7 +90,7 @@ function get_platform_and_arch() {
9090
if [[ "${platform}" == "mac" ]] || [[ "${platform}" == "win" ]]; then
9191
platform_and_arch="${platform}"
9292
else
93-
platform_and_arch="${platform}"_"${arch}"
93+
platform_and_arch="${platform}"-"${arch}"
9494
fi
9595
echo "${platform_and_arch}"
9696
}

0 commit comments

Comments
 (0)