diff --git a/scripts/make-release.sh b/scripts/make-release.sh index 0ab5dfb8b8..a8cba3b7aa 100755 --- a/scripts/make-release.sh +++ b/scripts/make-release.sh @@ -18,7 +18,7 @@ usage() { echo "E.g." echo "$0 M4a" echo "" - echo "The latest release is: $(git tag --list 'release/*' | sort -r | head -n 1 | sed 's/release\///')" + echo "I think the latest release is: $(git tag --list 'release/*' | grep -v M | sort -rV | head -n 1 | sed 's/release\///')" } if [[ -z "$1" ]] ; then