diff --git a/github/check.nextcloud.update b/github/check.nextcloud.update index 6b23f87..0a3db10 100755 --- a/github/check.nextcloud.update +++ b/github/check.nextcloud.update @@ -68,7 +68,7 @@ nc_app_new_version_file="/tmp/.github.nextcloud.app.upgrade" # Get the 3 last tags releses for Nextcloud ## Exclude tag starting with "v", and those contains alpha, beta or RC rm -f -- "${nc_new_version_list}" ; touch -- "${nc_new_version_list}" -"${script_wd}"/releasetags "${nc_repo_url}" | grep -v -E -- "(^v|alpha|beta|RC)" | head -n3 >> "${nc_new_version_list}" +"${script_wd}"/releasetags "${nc_repo_url}" | grep -v -E -- "(alpha|beta|RC)" | sed 's/^v//' | head -n3 >> "${nc_new_version_list}" # For all tags contained in the tag list while IFS= read -r nc_new_version; do