From 96b3c3f58c7702a56e262fb7d0794c9289fab20b Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Mon, 3 Jan 2022 18:15:40 +0100 Subject: [PATCH] Support Ubuntu no-change uploads in make_version_h.pl --- make_version_h.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_version_h.pl b/make_version_h.pl index 51a8f76..ae4a69b 100755 --- a/make_version_h.pl +++ b/make_version_h.pl @@ -13,7 +13,7 @@ close($fh); my ($ver) = $line =~ /^whois \s+ \( ( [^\)]+ ) \) \s+ \S+/x; die "Version number not found in $changelog!\n" if not $ver; -$ver =~ s/ ( ~bpo\d+\+\d+ | \+b\d+ | ~deb\d+.* | ubuntu\d+ | \+dyson\d+ ) $//x; +$ver =~ s/ ( ~bpo\d+\+\d+ | \+b\d+ | ~deb\d+.* | ubuntu\d+ | build\d+ | \+dyson\d+ ) $//x; # The version number must not deviate from this format or the -V option # to RIPE-like servers will break. If needed, update the previous regexp.