From 8ff6b1b540bd6fb26f456194965016c56323d478 Mon Sep 17 00:00:00 2001 From: Yann Prono Date: Tue, 7 Dec 2021 16:23:30 +0100 Subject: [PATCH] update download-latest.sh --- download-latest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download-latest.sh b/download-latest.sh index d4f1ca2ce..89514bdaa 100644 --- a/download-latest.sh +++ b/download-latest.sh @@ -80,7 +80,7 @@ get_latest() { fi releases=$(cat "$temp_file" | \ - grep -E "tag_name|draft|prerelease" \ + grep -E '"tag_name":|"draft":|"prerelease":'" \ | tr -d ',"' | cut -d ':' -f2 | tr -d ' ') # Returns a list of [tag_name draft_boolean prerelease_boolean ...] # Ex: v0.10.1 false false v0.9.1-rc.1 false true v0.9.0 false false...