minor changes

pull/58/head v2.4.9
Simon Let 6 years ago
parent e02757383c
commit 522a92b608
  1. 2
      scripts/rawinstall.sh

@ -11,7 +11,7 @@ if [ "$1" = "--test" ] || [ "$1" = "-t" ]; then
# debug
# latest release OR pre-release
json=$(curl --silent "https://api.github.com/repos/curusarn/resh/releases")
tag=$(echo "$json" | grep '"tag_name":' | cut -d':' -f2 | tr -d ',' | cut -d'"' -f2 | sort --version-sort --reverse | head -n 1)
tag=$(echo "$json" | grep '"tag_name":' | cut -d':' -f2 | tr -d ',' | cut -d'"' -f2 | head -n 1)
else
echo "Looking for the latest release ..."
# latest release

Loading…
Cancel
Save