Should set low version field to 0 in bump-version.

This commit is contained in:
Cheng Zhao 2014-03-16 19:02:59 +08:00
parent 83ff6b607f
commit 5402b1b432

View file

@ -48,6 +48,8 @@ def parse_version(version):
def increase_version(versions, index):
for i in range(index + 1, 4):
versions[i] = '0'
versions[index] = str(int(versions[index]) + 1)
return versions