Only first result

https://github.com/alexbelgium/hassio-addons/issues/380
This commit is contained in:
Alexandre
2022-07-05 10:34:30 +02:00
committed by GitHub
parent 2e1f5a71f7
commit 2751468106

View File

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