From 816d91029f767ca77460ed6dae1c040aa9852944 Mon Sep 17 00:00:00 2001 From: Benjamin TEGGE Date: Mon, 8 Jul 2024 01:33:42 +0200 Subject: [PATCH] Fix convenience script --- hack/autoinstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hack/autoinstall.sh b/hack/autoinstall.sh index 3c5e906..f9b2ea5 100644 --- a/hack/autoinstall.sh +++ b/hack/autoinstall.sh @@ -22,7 +22,7 @@ detect_package_suffix() { # Function to get the latest release tag from GitHub get_latest_release() { local repo="$1" - curl -s "https://api.github.com/repos/$repo/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' + curl -Ls "https://api.github.com/repos/$repo/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' } github_repo="uptime-lab/computeblade-agent"