mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 23:40:29 +03:00
Centralise handling of default gradle flavours
This commit is contained in:
parent
a195556378
commit
34a3405208
4 changed files with 9 additions and 13 deletions
|
|
@ -358,8 +358,6 @@ def fetch_autoname(app, tag):
|
|||
app_dir = os.path.join(app_dir, app['builds'][-1]['subdir'])
|
||||
if app['builds'][-1]['gradle']:
|
||||
flavours = app['builds'][-1]['gradle']
|
||||
if len(flavours) == 1 and flavours[0] in ['main', 'yes', '']:
|
||||
flavours = None
|
||||
|
||||
logging.debug("...fetch auto name from " + app_dir)
|
||||
new_name = common.fetch_real_name(app_dir, flavours)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue