Exclude beta version from shaarli monitored release

This commit is contained in:
Jeremy Gardais 2020-09-25 15:39:54 +02:00
parent 62128c89bb
commit dcbe6c7459
Signed by: jegardai
GPG Key ID: E759BAA22501AF32
1 changed files with 1 additions and 1 deletions

View File

@ -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"
# }}}