This commit is contained in:
Alexandre
2022-07-05 11:50:01 +02:00
committed by GitHub
parent 82e99c2a85
commit 42d1e781c3

View File

@@ -43,10 +43,9 @@ xargs) || LATEST_RELEASE=$(curl -f -s --retry 5 -L https://api.github.com/repos/
grep "browser_download_url.*zip" |
cut -d : -f 2,3 |
tr -d \" |
head -n 1 |
xargs)
LATEST_RELEASE="$(echo "${LATEST_RELEASE}" | head -1)"
[ "$DEBUG" = "debug" ] && echo "url: $LATEST_RELEASE"
[ "$DEBUG" = "debug" ] && echo "Before curl"