forgejo: Fix is_it_old logics

This commit is contained in:
Antoine Martin 2024-10-29 07:06:50 -04:00
parent 7814f05e1c
commit 97ed4992d7
Signed by: forge
GPG key ID: D62A472A4AA7D541

View file

@ -34,7 +34,7 @@ is_it_old() {
upstream_version=$3
repo=$4
query="$repo/$name: upgrade to $upstream_version"
query="$repo/$name: upgrade to"
query="$(echo $query | sed 's| |%20|g' | sed 's|:|%3A|g' | sed 's|/|%2F|g' )"
result="$(curl --silent -X 'GET' \