Suchmusteranpassung in der gitea-URL

This commit is contained in:
Patrick 2018-12-10 08:03:47 +01:00
parent a5509c9642
commit 7a17528ad0
1 changed files with 2 additions and 1 deletions

View File

@ -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