Bundle releases can also contain 0
This commit is contained in:
parent
8bf79b4831
commit
9f4da4e6d1
@ -241,7 +241,7 @@ def cmd_release(bundle_name, manifest):
|
|||||||
info = f.read()
|
info = f.read()
|
||||||
f.close()
|
f.close()
|
||||||
|
|
||||||
exp = re.compile('activity_version\s?=\s?([1-9]*)')
|
exp = re.compile('activity_version\s?=\s?([0-9]*)')
|
||||||
match = re.search(exp, info)
|
match = re.search(exp, info)
|
||||||
version = int(match.group(1)) + 1
|
version = int(match.group(1)) + 1
|
||||||
info = re.sub(exp, 'activity_version = %d' % version, info)
|
info = re.sub(exp, 'activity_version = %d' % version, info)
|
||||||
|
Loading…
Reference in New Issue
Block a user