Exclude beta version from shaarli monitored release
This commit is contained in:
parent
62128c89bb
commit
dcbe6c7459
|
@ -46,7 +46,7 @@ shaarli_install_dir="${1}"
|
|||
shaarli_current_version=$(cd "${shaarli_install_dir}" || exit 1 ; grep . -m1 shaarli_version.php | cut -d" " -f3 ; cd - > /dev/null || exit 1)
|
||||
|
||||
shaarli_repo_url="https://github.com/shaarli/Shaarli"
|
||||
shaarli_new_version=$("${script_wd}"/releasetags "${shaarli_repo_url}" | head -n1 | sed 's/v//')
|
||||
shaarli_new_version=$("${script_wd}"/releasetags "${shaarli_repo_url}" | grep -vE -- '(beta)' | head -n1 | sed 's/v//')
|
||||
|
||||
shaarli_new_version_file="/tmp/.github.shaarli.upgrade"
|
||||
# }}}
|
||||
|
|
Loading…
Reference in New Issue