From 079d9e2dbb331fececfc5b3d314cf988ba7a9f77 Mon Sep 17 00:00:00 2001 From: Brent Rubell Date: Fri, 20 Oct 2023 10:57:38 -0400 Subject: [PATCH 1/2] Update install.sh --- install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index d248dffdfb5..4c32f7fe7c2 100755 --- a/install.sh +++ b/install.sh @@ -84,7 +84,8 @@ initDownloadTool() { checkLatestVersion() { # Use the GitHub releases webpage to find the latest version for this project # so we don't get rate-limited. - CHECKLATESTVERSION_REGEX="v?[0-9][A-Za-z0-9\.-]*" + #CHECKLATESTVERSION_REGEX="v?[0-9][A-Za-z0-9\.-]*" + CHECKLATESTVERSION_REGEX="v\?[0-9][A-Za-z0-9\.-]*" CHECKLATESTVERSION_LATEST_URL="https://github.com/${PROJECT_OWNER}/${PROJECT_NAME}/releases/latest" if [ "$DOWNLOAD_TOOL" = "curl" ]; then CHECKLATESTVERSION_TAG=$(curl -SsL $CHECKLATESTVERSION_LATEST_URL | grep -o "Release $CHECKLATESTVERSION_REGEX ยท ${PROJECT_OWNER}/${PROJECT_NAME}" | grep -o "$CHECKLATESTVERSION_REGEX") From 8c37c6c4eb9a3f079cffa50eda9a66fceded6671 Mon Sep 17 00:00:00 2001 From: Brent Rubell <brentru@users.noreply.github.com> Date: Fri, 20 Oct 2023 11:10:17 -0400 Subject: [PATCH 2/2] Update install.sh --- install.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/install.sh b/install.sh index 4c32f7fe7c2..8be41ae6c9d 100755 --- a/install.sh +++ b/install.sh @@ -84,7 +84,6 @@ initDownloadTool() { checkLatestVersion() { # Use the GitHub releases webpage to find the latest version for this project # so we don't get rate-limited. - #CHECKLATESTVERSION_REGEX="v?[0-9][A-Za-z0-9\.-]*" CHECKLATESTVERSION_REGEX="v\?[0-9][A-Za-z0-9\.-]*" CHECKLATESTVERSION_LATEST_URL="https://github.com/${PROJECT_OWNER}/${PROJECT_NAME}/releases/latest" if [ "$DOWNLOAD_TOOL" = "curl" ]; then