diff --git a/github/check.sickchill.update b/github/check.sickchill.update index f46b703..38c94b3 100755 --- a/github/check.sickchill.update +++ b/github/check.sickchill.update @@ -102,7 +102,7 @@ define_vars() { # {{{ ## when curl 7.74.x will be available on Debian Stable sickchill_current_version=$(curl --silent "${sickchill_url:=/dev/null}" | \grep --only-matching --perl-regexp '(?<=https://github.com/SickChill/SickChill/releases/tag/v)[[:alnum:].]*') - sickchill_new_version=$("${script_wd}"/releasetags "${sickchill_repo_url}" | grep --invert-match --extended-regexp -- '(dev|rc)' | head --lines=1 | sed --silent 's/v\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/p') + sickchill_new_version=$("${script_wd}"/releasetags "${sickchill_repo_url}" | grep --invert-match --extended-regexp -- '(dev|rc|-)' | head --lines=1 | sed 's/v\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/') } # }}}