Commit 2e40bacf authored by Paul Morelle's avatar Paul Morelle
Browse files support creating a version from a tag like '4.8rc0'

Version tags of the form '4.8-rc0' were already supported, but apparently
the format has changed since then.
parent 3e23ae7ae17b
......@@ -274,6 +274,8 @@ def windowsversion(name, version):
version = version[:-3]
elif version[:-1].endswith('-rc'):
version = version[:-4]
   elif version[:-1].endswith('rc'):
       version = version[:-3]
v = [int(x) for x in version.split('.')]
while len(v) < 3:
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment