mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 15:32:30 +03:00
added test case
This commit is contained in:
parent
f8492f05a8
commit
33aee96ed9
3 changed files with 47 additions and 1 deletions
|
@ -1299,7 +1299,9 @@ def parse_androidmanifests(paths, app):
|
|||
vercode = None
|
||||
package = None
|
||||
|
||||
flavour = app.builds[-1].gradle[-1]
|
||||
flavour = ""
|
||||
if app.builds and 'gradle' in app.builds[-1] and app.builds[-1].gradle:
|
||||
flavour = app.builds[-1].gradle[-1]
|
||||
|
||||
if has_extension(path, 'gradle'):
|
||||
# first try to get version name and code from correct flavour
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue