Ignore alpha|beta version for Jellyfin

This commit is contained in:
Jeremy Gardais 2022-04-02 11:49:38 +02:00
parent 19418e59a1
commit 37e981e2a9
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

View File

@ -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//')
}
# }}}