Update one_liner.sh
This commit is contained in:
parent
93993cdfcf
commit
4677084673
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue