From bf0642ccb8be5a8a2ae19b185f600755f2306cd6 Mon Sep 17 00:00:00 2001 From: Sarah Vaupel Date: Tue, 4 Feb 2025 13:42:35 +0100 Subject: [PATCH] build(release): fix release branchversion comparison in release script [skip ci] --- utils/version.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}) {