From 7b1906339890bda5414dc44e16d498e56667eff2 Mon Sep 17 00:00:00 2001 From: Shinya Yamaguchi Date: Mon, 23 Jul 2018 09:52:23 +0900 Subject: Fix latest.sh script to user correct tags --- scripts/latest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/latest.sh b/scripts/latest.sh index dc5c345..b3e3760 100755 --- a/scripts/latest.sh +++ b/scripts/latest.sh @@ -8,7 +8,7 @@ echo Downloading and running $PACKAGE... RELEASES=$(curl --silent https://github.com/jaspervdj/$PACKAGE/releases) URL=https://github.com/$(echo $RELEASES | grep -o '\"[^\"]*-linux-x86_64\.tar\.gz\"' | sed s/\"//g | head -n1) -VERSION=$(echo $URL | sed -e 's/.*-\([\.0-9]\+\)-linux-x86_64\.tar\.gz/\1/') +VERSION=$(echo $URL | sed -e 's/.*-\(v[\.0-9]\+-linux-x86_64\)\.tar\.gz/\1/') TEMP=$(mktemp --directory .$PACKAGE-XXXXX) cleanup(){ -- cgit v1.2.3