Fix install script (#1172)

This commit is contained in:
Casey Rodarmor 2022-05-02 20:49:46 -07:00 committed by GitHub
parent 32e15a2e51
commit 8baebadd18
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -99,7 +99,10 @@ if [ -z ${dest-} ]; then
fi
if [ -z ${tag-} ]; then
tag=$(curl -s "$releases/latest" | cut -d'"' -f2 | rev | cut -d'/' -f1 | rev)
tag=$(curl -s "https://api.github.com/repos/casey/just/releases/latest" |
grep tag_name |
cut -d'"' -f4
)
fi
if [ -z ${target-} ]; then