Skip to content

Commit 7b19063

Browse files
waddlawjaspervdj
authored andcommitted
Fix latest.sh script to user correct tags
1 parent cd68fe8 commit 7b19063

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/latest.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ echo Downloading and running $PACKAGE...
88

99
RELEASES=$(curl --silent https://github.com/jaspervdj/$PACKAGE/releases)
1010
URL=https://github.com/$(echo $RELEASES | grep -o '\"[^\"]*-linux-x86_64\.tar\.gz\"' | sed s/\"//g | head -n1)
11-
VERSION=$(echo $URL | sed -e 's/.*-\([\.0-9]\+\)-linux-x86_64\.tar\.gz/\1/')
11+
VERSION=$(echo $URL | sed -e 's/.*-\(v[\.0-9]\+-linux-x86_64\)\.tar\.gz/\1/')
1212
TEMP=$(mktemp --directory .$PACKAGE-XXXXX)
1313

1414
cleanup(){

0 commit comments

Comments
 (0)