Fix version-extraction regexp

Fixes https://github.com/matrix-org/matrix-doc/issues/982
This commit is contained in:
Richard van der Hoff 2017-09-18 13:48:35 +01:00
parent a42d3011b7
commit 13d3293378
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ else:
release_label = sys.argv[2] if len(sys.argv) > 2 else "unstable"
major_version = release_label
match = re.match("^(r\d)+(\.\d+)*$", major_version)
match = re.match("^(r\d+)(\.\d+)*$", major_version)
if match:
major_version = match.group(1)