From 705a1864b39dc647242f90ec783c55a9bced22dd Mon Sep 17 00:00:00 2001 From: Heikel Date: Wed, 15 Jan 2025 11:22:38 +0100 Subject: [PATCH] chore: upgrade tailcall --- install.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 8af856286c..1e46e2f33a 100755 --- a/install.sh +++ b/install.sh @@ -4,8 +4,9 @@ set -e # Get version argument from command line VERSION=${1:-"latest"} +echo $VERSION -BASE_URL="https://github.com/MedHeikelBouzayene/tailcall/releases/download/" +BASE_URL="https://github.com/MedHeikelBouzayene/tailcall/releases/download" if [ "$VERSION" = "latest" ]; then VERSION=$(curl --silent "https://api.github.com/repos/tailcallhq/tailcall/releases/latest" | jq -r '.tag_name') @@ -40,7 +41,7 @@ fi # Derive download URL based on detected OS and architecture URL="$BASE_URL/$VERSION/tailcall-${ARCH}-${OS}" - +echo $URL # Prepare versioned directory for download INSTALL_DIR="$HOME/.tailcall/lib/$VERSION" mkdir -p "$INSTALL_DIR"