mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-23 11:12:47 +01:00
release.py: Allow an extra version number.
Signed-off-by: James Vega <jamessan@users.sourceforge.net>
This commit is contained in:
parent
d7039f0c31
commit
462fac9307
@ -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.')
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user