From 5f3cd1a065f13c0f87eb3bebc5ad51ca1be349f8 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Wed, 20 Nov 2024 09:12:01 +0100 Subject: [PATCH] yet another fix for 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 f6d7c1d..0ca2e0f 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]+)(_([0-9]+))?$/) { + elsif ($line =~ /^[a-zA-Z0-9_]*[a-zA-Z]_([0-9]+)_([0-9]+)(_([0-9]+))?$/) { $tag = $line; my $major = $1; my $minor = $2;