diff --git a/utils/version.pl b/utils/version.pl index 93aa64d23..d00d80cdb 100644 --- a/utils/version.pl +++ b/utils/version.pl @@ -304,7 +304,7 @@ sub vsCompare { ($v->{minor} // 0) <=> ($w->{minor} // 0) || ($v->{patch} // 0) <=> ($w->{patch} // 0) || ($v->{branchname} // '') cmp ($w->{branchname} // '') || - ($v->{branchversion} // '') <=> ($w->{branchversion} // '') || + ($v->{branchversion} // 0) <=> ($w->{branchversion} // 0) || ($v->{subpatch} // '') cmp ($w->{subpatch} // '') ) } elsif('v' eq $v->{prefix} and 'v' ne $w->{prefix}) {