diff --git a/scripts/generate-versions.sh b/scripts/generate-versions.sh index 7dda220c81..29e5fa36f1 100755 --- a/scripts/generate-versions.sh +++ b/scripts/generate-versions.sh @@ -34,8 +34,8 @@ get_version() { fi # Use higher version from new version and current version - v=$(printf '%s\n' "$v" "$cv" | sort -r | head -n1) - + v=$(printf '%s\n' "$v" "$cv" | sort -n -r | head -n1) + echo "$v" }