From 462fac9307002594f1f6b238959d9e38025fd529 Mon Sep 17 00:00:00 2001 From: James Vega Date: Mon, 25 May 2009 13:32:02 -0400 Subject: [PATCH] release.py: Allow an extra version number. Signed-off-by: James Vega --- sandbox/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sandbox/release.py b/sandbox/release.py index 4a1dedca1..f39acbcce 100644 --- a/sandbox/release.py +++ b/sandbox/release.py @@ -65,7 +65,7 @@ if __name__ == '__main__': print 'Check version string for validity.' (u, v) = sys.argv[1:] - if not re.match(r'^\d+\.\d+\.\d+\w*$', v): + if not re.match(r'^\d+\.\d+\.\d+(\.\d+)?\w*$', v): error('Invalid version string: ' 'must be of the form MAJOR.MINOR.PATCHLEVEL.')