diff options
author | Shinya Yamaguchi <waddlaw@users.noreply.github.com> | 2018-07-23 09:52:23 +0900 |
---|---|---|
committer | Jasper Van der Jeugt <jaspervdj@gmail.com> | 2018-07-23 02:52:23 +0200 |
commit | 7b1906339890bda5414dc44e16d498e56667eff2 (patch) | |
tree | 0d7e27fda327ec0f84dd4cf985f2dd6e71a2fa60 /scripts/latest.sh | |
parent | cd68fe8452e86748973c20e87feb38c16a979226 (diff) | |
download | stylish-haskell-7b1906339890bda5414dc44e16d498e56667eff2.tar.gz |
Fix latest.sh script to user correct tags
Diffstat (limited to 'scripts/latest.sh')
-rwxr-xr-x | scripts/latest.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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(){ |