From f339a58da918aec43e5fc54b2e4849eb2b6f2870 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Fri, 2 May 2025 09:02:54 +0200 Subject: [PATCH] another attempt to fix tags with lots of numbers --- App/tools/getVersion.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/App/tools/getVersion.pl b/App/tools/getVersion.pl index 0ca2e0f..f6d7c1d 100755 --- a/App/tools/getVersion.pl +++ b/App/tools/getVersion.pl @@ -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;