From: Norman Walsh Date: Mon, 13 Aug 2001 22:04:42 +0000 (+0000) Subject: Support the + suffix on version numbers X-Git-Tag: release/1.79.1~6^2~6296 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=46ca18d008130dcebc87968e9046c225a5f56d4c;p=docbook-dsssl Support the + suffix on version numbers --- diff --git a/cvstools/nextversion b/cvstools/nextversion index fa24971cb..45a8be036 100755 --- a/cvstools/nextversion +++ b/cvstools/nextversion @@ -21,9 +21,9 @@ open (F, 'VERSION') || die "Cannot find VERSION.\n"; read (F, $_, -s 'VERSION'); close (F); -if (/^(.*name=.VERSION.>)(\d+)\.(\d+)(<.*)$/s) { +if (/^(.*name=.VERSION.>)(\d+)\.(\d+)\+?(<.*)$/s) { # ok -} elsif (/^(.*?)(\d+)\.(\d+)(.*)$/s) { +} elsif (/^(.*?)(\d+)\.(\d+)\+?(.*)$/s) { # ok } else { die "Cannot find version in VERSION.\n";