another attempt to fix tags with lots of numbers

This commit is contained in:
2025-05-02 09:02:54 +02:00
parent 6ddf2657d3
commit f339a58da9
+1 -1
View File
@@ -141,7 +141,7 @@ sub parse_git_output {
$version = "$major.$minor.$patch";
say STDERR "Checking tag $line => version $version";
}
elsif ($line =~ /^[a-zA-Z0-9_]*[a-zA-Z]_([0-9]+)_([0-9]+)(_([0-9]+))?$/) {
elsif ($line =~ /^[a-zA-Z0-9_]*[a-zA-Z][0-9]*_([0-9]+)_([0-9]+)(_([0-9]+))?$/) {
$tag = $line;
my $major = $1;
my $minor = $2;