mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Fix naming of current version fields in metadata
This commit is contained in:
parent
887d068c7d
commit
b7176d1852
226 changed files with 647 additions and 444 deletions
|
|
@ -92,12 +92,12 @@ for app in apps:
|
|||
|
||||
if not version:
|
||||
print "..." + vercode
|
||||
elif vercode == app['Market Version Code'] and version == app['Market Version']:
|
||||
elif vercode == app['Current Version Code'] and version == app['Current Version']:
|
||||
print "...up to date"
|
||||
else:
|
||||
print '...updating to version:' + version + ' vercode:' + vercode
|
||||
app['Market Version'] = version
|
||||
app['Market Version Code'] = vercode
|
||||
app['Current Version'] = version
|
||||
app['Current Version Code'] = vercode
|
||||
metafile = os.path.join('metadata', app['id'] + '.txt')
|
||||
common.write_metadata(metafile, app)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue