build(release): fix release branchversion comparison in release script [skip ci]
This commit is contained in:
parent
eac726f364
commit
bf0642ccb8
@ -304,7 +304,7 @@ sub vsCompare {
|
|||||||
($v->{minor} // 0) <=> ($w->{minor} // 0) ||
|
($v->{minor} // 0) <=> ($w->{minor} // 0) ||
|
||||||
($v->{patch} // 0) <=> ($w->{patch} // 0) ||
|
($v->{patch} // 0) <=> ($w->{patch} // 0) ||
|
||||||
($v->{branchname} // '') cmp ($w->{branchname} // '') ||
|
($v->{branchname} // '') cmp ($w->{branchname} // '') ||
|
||||||
($v->{branchversion} // '') <=> ($w->{branchversion} // '') ||
|
($v->{branchversion} // 0) <=> ($w->{branchversion} // 0) ||
|
||||||
($v->{subpatch} // '') cmp ($w->{subpatch} // '')
|
($v->{subpatch} // '') cmp ($w->{subpatch} // '')
|
||||||
)
|
)
|
||||||
} elsif('v' eq $v->{prefix} and 'v' ne $w->{prefix}) {
|
} elsif('v' eq $v->{prefix} and 'v' ne $w->{prefix}) {
|
||||||
|
|||||||
Reference in New Issue
Block a user