(mainly to work around a recently introduced issue where the name
changes and then changes straight back!)
if not version:
print "..." + vercode
- elif vercode == app['Current Version Code'] and version == app['Current Version']:
+ elif vercode == app['Current Version Code']:
print "...up to date"
else:
print '...updating to version:' + version + ' vercode:' + vercode
metafile = os.path.join('metadata', app['id'] + '.txt')
common.write_metadata(metafile, app)
if options.commit and logmsg:
+ print "Commiting update for " + metafile
if subprocess.call("git add " + metafile, shell=True) != 0:
print "Git add failed"
sys.exit(1)