summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtag.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag.pl b/tag.pl
index 62e201ce4..2877b75c1 100755
--- a/tag.pl
+++ b/tag.pl
@@ -19,7 +19,7 @@ for my $dir (@dirs) {
next unless -r $changelog;
open CHANGELOG, '<', $changelog or die @!;
my $firstline = <CHANGELOG>;
- if ($firstline =~ m/([\w-]+) \(([\w:~.+-]+)\) (\w+);/) {
+ if ($firstline =~ m/([\w-]+) \(([\w:~.+-]+)\) ([\w-]+);/) {
my ($source, $version, $suite) = ($1, $2, $3);
my $tag = sprintf "%s_v%s", $source, $version;
$tag =~ tr/:~/_/;