Sick: Exclude release with a "-"
This commit is contained in:
parent
d0fcbe5318
commit
63aad2f3b7
|
@ -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
|
||||||
sickchill_current_version=$(curl --silent "${sickchill_url:=/dev/null}" | \grep --only-matching --perl-regexp '(?<=https://github.com/SickChill/SickChill/releases/tag/v)[[:alnum:].]*')
|
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/')
|
||||||
|
|
||||||
}
|
}
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Loading…
Reference in New Issue