Ignore alpha|beta version for Jellyfin
This commit is contained in:
parent
19418e59a1
commit
37e981e2a9
|
@ -102,7 +102,7 @@ define_vars() { # {{{
|
||||||
## when curl 7.74.x will be available on Debian Stable
|
## 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_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//')
|
||||||
|
|
||||||
}
|
}
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Loading…
Reference in New Issue