[DHG_packages] 01/01: Improve tag.pl

Joachim Breitner nomeata at moszumanska.debian.org
Sun Jul 26 21:29:05 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to branch master
in repository DHG_packages.

commit c1d2ae1f86bd5d64198f1ecd103a0c7d342d261c
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sun Jul 26 23:28:57 2015 +0200

    Improve tag.pl
---
 tag.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tag.pl b/tag.pl
index 62e201c..2877b75 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/:~/_/;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list