mirror of
https://github.com/casey/just.git
synced 2024-11-22 02:09:44 +03:00
Fix install script (#1172)
This commit is contained in:
parent
32e15a2e51
commit
8baebadd18
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user