Various fixes: hg vcs updating, gradle vercode regex...

This commit is contained in:
Daniel Martí 2013-11-01 19:12:22 +01:00
parent e07d35f913
commit 5644b17048
2 changed files with 10 additions and 8 deletions

View file

@ -119,7 +119,8 @@ def check_tags(app, sdk_path):
paths = common.manifest_paths(build_dir, flavour)
version, vercode, package = common.parse_androidmanifests(paths)
if package and package == app['id'] and version and vercode:
print "Manifest exists. Found version %s" % version
print "Manifest exists. Found version %s (%s)" % (
version, vercode)
if int(vercode) > int(hcode):
htag = tag
hcode = str(int(vercode))
@ -334,6 +335,7 @@ def main():
tag = None
msg = None
vercode = None
mode = app['Update Check Mode']
if mode == 'Tags':
(version, vercode, tag) = check_tags(app, config['sdk_path'])