Commits

Steve Borho  committed 1122c00

tweak windows package version numbers

Move down the periodic digit by one place, moving the stable (1) / unstable (5)
flag down a digit, leaving only 400 revisions per stable release before they
overlap with the unstable revision numbers.

This was necessitated by periodic versions > 6, which generated version numbers
larger than the 16bit field allows.

Closes #15

  • Participants
  • Parent commits 0c8f0fa

Comments (0)

Files changed (1)

 
     if extra != None:
         tagdistance = int(extra.split('-', 1)[0])
-        periodic *= 10000
+        periodic *= 1000
         if 'unstable' in name:
-            periodic += tagdistance + 5000
+            periodic += tagdistance + 500
         else:
-            periodic += tagdistance + 1000
+            periodic += tagdistance + 100
 
     return [str(x) for x in (major, minor, periodic)]