From f3e1c435c2e6ce107dbd80dbc082b544ac1cbdae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Josu=C3=A9=20Tille?= Date: Thu, 30 May 2024 22:41:58 +0200 Subject: [PATCH] Fix unset var --- auto_update/auto_update.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto_update/auto_update.sh b/auto_update/auto_update.sh index 146b428..96280ed 100644 --- a/auto_update/auto_update.sh +++ b/auto_update/auto_update.sh @@ -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" ]]