Skip to content

Commit 5aacef8

Browse files
committed
asdf: match the fork's goreleaser asset naming
The fork's goreleaser archive name_template omits the version (kube-credential-cache_Linux_x86_64.tar.gz), whereas download_release built a versioned URL (..._${version}_...). That mismatch 404'd the asdf install test once the download source pointed at the fork. Drop the version segment so the URL matches the published assets. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01V2pTHkL3AmyFqgyQhgrohw
1 parent 7a12512 commit 5aacef8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

bin/scripts/utils.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ download_release() {
4343
version="$1"
4444
filename="$2"
4545

46-
url="$GH_REPO/releases/download/v${version}/kube-credential-cache_${version}_$(uname -s)_$(uname -m).tar.gz"
46+
url="$GH_REPO/releases/download/v${version}/kube-credential-cache_$(uname -s)_$(uname -m).tar.gz"
4747

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

0 commit comments

Comments
 (0)