build(release): fix release branchversion comparison in release script [skip ci]

This commit is contained in:
Sarah Vaupel 2025-02-04 13:42:35 +01:00
parent eac726f364
commit bf0642ccb8

View File

@ -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}) {