Suchalgorithmus verbessert
This commit is contained in:
parent
b40b8d6554
commit
2821b70150
@ -16,7 +16,7 @@ else
|
|||||||
fi
|
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| sed -e 's/^v//' )
|
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//' | awk '{print $1}' | sed -e 's/://' )
|
||||||
#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 "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" ]
|
if [ "$gitea_local_version" = "$gitea_remote_version" ]
|
||||||
|
Loading…
Reference in New Issue
Block a user