Fix install script (#1172)
This commit is contained in:
parent
32e15a2e51
commit
8baebadd18
@ -99,7 +99,10 @@ if [ -z ${dest-} ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z ${tag-} ]; then
|
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
|
fi
|
||||||
|
|
||||||
if [ -z ${target-} ]; then
|
if [ -z ${target-} ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user