From d7c2e4db11225dab05bab72df4b522465cc42cb3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20Qui=C3=B1ones?= Date: Fri, 3 Jan 2025 15:23:16 -0500 Subject: [PATCH] ci(update): updated regexp to extract twilight version from github release title --- .github/update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/update.sh b/.github/update.sh index 77dbeaf..0aabb7a 100755 --- a/.github/update.sh +++ b/.github/update.sh @@ -14,7 +14,7 @@ repo_tags=$(curl 'https://api.github.com/repos/zen-browser/desktop/tags' -s) twilight_tag=$(echo "$repo_tags" | jq -r '.[]|select(.name|test("twilight"))') -twilight_version_name=$(curl 'https://api.github.com/repos/zen-browser/desktop/releases/tags/twilight' -s | jq -r '.name' | grep -oE '([0-9\.])+-t.[0-9]+') +twilight_version_name=$(curl 'https://api.github.com/repos/zen-browser/desktop/releases/tags/twilight' -s | jq -r '.name' | grep -oE '([0-9\.])+(t|-t.[0-9]+)') if [ "$twilight_version_name" = "" ]; then echo "No twilight version could be extracted..." exit 1