From 7a17528ad088536f13e1912880b23be769941040 Mon Sep 17 00:00:00 2001 From: Patrick Date: Mon, 10 Dec 2018 08:03:47 +0100 Subject: [PATCH] Suchmusteranpassung in der gitea-URL --- checks/check_gitea_update | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/checks/check_gitea_update b/checks/check_gitea_update index 95fe56e..4406204 100755 --- a/checks/check_gitea_update +++ b/checks/check_gitea_update @@ -23,7 +23,8 @@ else fi -gitea_remote_version=$(curl --silent https://github.com/go-gitea/gitea/releases | grep "css-truncate-target" | grep -v "\-rc" | cut -d "v" -f 2 | cut -d "<" -f 1 | head -n 1) +gitea_remote_version=$(curl --silent https://github.com/go-gitea/gitea/releases | grep "/releases/tag" | grep -v "\-rc" | grep -v "\-dev" | cut -d ">" -f 2 | cut -d "<" -f 1 | head -n 1) +#gitea_remote_version=$(curl --silent https://github.com/go-gitea/gitea/releases | grep "css-truncate-target" | grep -v "\-rc" | cut -d "v" -f 2 | cut -d "<" -f 1 | head -n 1) if [ "$gitea_local_version" = "$gitea_remote_version" ] then