Fehler in der Versionsbezeichnung beseitigt

This commit is contained in:
root 2018-12-10 08:09:40 +01:00
parent adc2322e1b
commit 534af414e7

View File

@ -16,7 +16,7 @@ else
fi
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 "/releases/tag" | grep -v "\-rc" | grep -v "\-dev" | cut -d ">" -f 2 | cut -d "<" -f 1 | head -n 1| sed -e 's/^v//' )
#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" ]