Commits

Anonymous committed 1b0ea0c

Fixed version matching in config/bundle_docs.py

Comments (0)

Files changed (2)

 
 Test releases:
 
-* alpha1 (rev. 21)
+* alpha1 (rev. 2176)

config/bundle_docs.py

     bundle_name_elements = ['pygame', 'docs']
     fp = open ("setup.py", "r")
     try:
-        match = re.search (r'VERSION = "([0-9]+\.[0-9]+\.[0-9])"', fp.read ())
+        match = re.search (r'VERSION = "([0-9]+\.[0-9]+\.[0-9]+(\-\w+){0,1})"',
+                           fp.read ())
     finally:
         fp.close ()
     if match is None: