1
0
Fork 0
mirror of synced 2025-09-23 12:18:44 +00:00

Update one_liner.sh

This commit is contained in:
Darko Macesic 2022-05-06 14:58:33 +02:00 committed by GitHub
parent 93993cdfcf
commit 4677084673
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -265,7 +265,7 @@ main() {
url="$url/releases"
tag=$(curl -s "$url/latest" | cut -d'"' -f2 | rev | cut -d'/' -f1 | rev)
tag=$(curl -Ls -w %{url_effective} -o /dev/null "$url/latest" | cut -d'"' -f2 | rev | cut -d'/' -f1 | rev)
say_err "Tag: latest ($tag)"
# detect host architecture