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

mattia pushed a commit to branch master
in repository devscripts.

commit c59d7206f03dce31101f027e70bcf15fe9a8d53f
Author: Mattia Rizzolo <[email protected]>
Date:   Sun Nov 12 12:50:02 2017 +0100

    debchange: fixup regex
    
    Thanks: adsb for following along and noticing the error
    Signed-off-by: Mattia Rizzolo <[email protected]>
---
 scripts/debchange.pl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/debchange.pl b/scripts/debchange.pl
index d4ac8da..ad5aaff 100755
--- a/scripts/debchange.pl
+++ b/scripts/debchange.pl
@@ -1179,7 +1179,7 @@ if (($opt_i || $opt_n || $opt_bn || $opt_qa || $opt_R || 
$opt_s || $opt_lts || $
                # based on the version of the previous upload
                if ($opt_stable || $opt_bpo || $opt_s || $opt_lts) {
                    my $previous_dist = $start;
-                   $previous_dist =~ s/^.*[+~](?:deb|bpo)(\d+)(?:u\+)\d+$/$1/;
+                   $previous_dist =~ s/^.*[+~](?:deb|bpo)(\d+)(?:u\+)$/$1/;
                    if (defined $previous_dist and defined 
$dists{$previous_dist}) {
                 if ($opt_s || $opt_lts) {
                     $guessed_dist = $dists{$previous_dist} . '-security';

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/collab-maint/devscripts.git

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to