Skip to content

Commit

Permalink
minor changes
Browse files Browse the repository at this point in the history
  • Loading branch information
curusarn committed Dec 18, 2019
1 parent e027573 commit 522a92b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/rawinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 522a92b

Please sign in to comment.