mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 15:13:27 +02:00
Revert back to always updating Auto Name
This commit is contained in:
parent
439cabb7f3
commit
87d409a55c
@ -354,17 +354,17 @@ def fetch_autoname(app, tag):
|
||||
if app['builds'][-1]['gradle']:
|
||||
flavours = app['builds'][-1]['gradle']
|
||||
|
||||
logging.debug("...fetch auto name from " + app_dir)
|
||||
new_name = common.fetch_real_name(app_dir, flavours)
|
||||
commitmsg = None
|
||||
if not app['Auto Name']:
|
||||
logging.debug("...fetch auto name from " + app_dir)
|
||||
new_name = common.fetch_real_name(app_dir, flavours)
|
||||
if new_name:
|
||||
logging.debug("...got autoname '" + new_name + "'")
|
||||
if new_name:
|
||||
logging.debug("...got autoname '" + new_name + "'")
|
||||
if new_name != app['Auto Name']:
|
||||
app['Auto Name'] = new_name
|
||||
if not commitmsg:
|
||||
commitmsg = "Set autoname of {0}".format(common.getappname(app))
|
||||
else:
|
||||
logging.debug("...couldn't get autoname")
|
||||
else:
|
||||
logging.debug("...couldn't get autoname")
|
||||
|
||||
if app['Current Version'].startswith('@string/'):
|
||||
cv = common.version_name(app['Current Version'], app_dir, flavours)
|
||||
|
Loading…
Reference in New Issue
Block a user