From 37e981e2a971ff844ea5f74d684d3b969fe4d0c4 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Sat, 2 Apr 2022 11:49:38 +0200 Subject: [PATCH] Ignore alpha|beta version for Jellyfin --- github/check.jellyfin.update | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/github/check.jellyfin.update b/github/check.jellyfin.update index 584abd4..4646d4f 100755 --- a/github/check.jellyfin.update +++ b/github/check.jellyfin.update @@ -102,7 +102,7 @@ define_vars() { # {{{ ## when curl 7.74.x will be available on Debian Stable jellyfin_current_version=$(curl --silent "${jellyfin_url:=/dev/null}" | \grep -oP '(?<=Version":")[[:alnum:].]*') - jellyfin_new_version=$("${script_wd}"/releasetags "${jellyfin_repo_url}" | grep -vE -- '(dev|rc)' | head -n1 | sed 's/v//') + jellyfin_new_version=$("${script_wd}"/releasetags "${jellyfin_repo_url}" | grep -vE -- '(dev|rc|alpha|beta)' | head -n1 | sed 's/v//') } # }}}