We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 99fccda + ae32d67 commit f460018Copy full SHA for f460018
install.sh
@@ -48,7 +48,7 @@ error() {
48
}
49
50
# Fetch the latest release tag from GitHub API
51
-LATEST_RELEASE=$(curl -s $REPO_URL | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
+LATEST_RELEASE=$(curl -s $REPO_URL | grep -o '"tag_name": *"[^"]*"' | sed 's/.*": *"\([^"]*\)".*/\1/')
52
53
echo ""
54
info "Latest release: $LATEST_RELEASE"
0 commit comments