Include support for auto-expanding versions

This commit is contained in:
coreybutler
2021-09-11 00:38:06 -05:00

View File

@@ -219,7 +219,7 @@ func install(version string, cpuarch string) {
// if the user specifies only the major version number then install the latest
// version of the major version number
if len(version) == 1 {
if !strings.Contains(version, ".") {
version = findLatestSubVersion(version)
} else {
version = cleanVersion(version)