We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 593c140 commit 0875c3cCopy full SHA for 0875c3c
install.sh
@@ -84,7 +84,7 @@ initDownloadTool() {
84
checkLatestVersion() {
85
# Use the GitHub releases webpage to find the latest version for this project
86
# so we don't get rate-limited.
87
- CHECKLATESTVERSION_REGEX="v?[0-9][A-Za-z0-9\.-]*"
+ CHECKLATESTVERSION_REGEX="v[0-9][A-Za-z0-9\.-]*"
88
CHECKLATESTVERSION_LATEST_URL="https://github.com/${PROJECT_OWNER}/${PROJECT_NAME}/releases/latest"
89
if [ "$DOWNLOAD_TOOL" = "curl" ]; then
90
CHECKLATESTVERSION_TAG=$(curl -SsL $CHECKLATESTVERSION_LATEST_URL | grep -o "<title>Release $CHECKLATESTVERSION_REGEX · ${PROJECT_OWNER}/${PROJECT_NAME}" | grep -o "$CHECKLATESTVERSION_REGEX")
0 commit comments