1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/xwiki_ynh.git synced 2024-09-03 20:36:11 +02:00

Fix unset var

This commit is contained in:
Josué Tille 2024-05-30 22:41:58 +02:00
parent e325aa5d9e
commit f3e1c435c2
No known key found for this signature in database
GPG key ID: 5F259226AD51F2F5

View file

@ -31,7 +31,7 @@ versions = sys.stdin.read().splitlines()
versions.sort(key=Version)
print(versions[-1])')
local jdbc_version=$(curl 'https://api.github.com/repos/pgjdbc/pgjdbc/releases/latest' -H 'Host: api.github.com' --compressed | jq -r ".tag_name" | cut -dL -f2)
jdbc_version=$(curl 'https://api.github.com/repos/pgjdbc/pgjdbc/releases/latest' -H 'Host: api.github.com' --compressed | jq -r ".tag_name" | cut -dL -f2)
## Check if new build is needed
if [[ "$app_version" != "$app_remote_version" ]]