From 46ca18d008130dcebc87968e9046c225a5f56d4c Mon Sep 17 00:00:00 2001 From: Norman Walsh Date: Mon, 13 Aug 2001 22:04:42 +0000 Subject: [PATCH] Support the + suffix on version numbers --- cvstools/nextversion | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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"; -- 2.40.0