mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 14:32:28 +03:00
Merge branch 'fix-update-py-triple-t' into 'master'
update: take build subdir into account when looking for triple-t data Closes fdroiddata#2295 See merge request fdroid/fdroidserver!883
This commit is contained in:
commit
6ba647baec
1 changed files with 2 additions and 0 deletions
|
@ -1058,6 +1058,8 @@ def copy_triple_t_store_metadata(apps):
|
|||
gradle_subdirs.add(p)
|
||||
if not gradle_subdirs:
|
||||
gradle_subdirs.update(glob.glob(os.path.join('build', packageName, '*', 'src', '*', 'play')))
|
||||
if not gradle_subdirs and len(app.get('Builds', [])) and app.get('Builds', [])[-1].subdir:
|
||||
gradle_subdirs.update(glob.glob(os.path.join('build', packageName, app.get('Builds', [])[-1].subdir, 'src', '*', 'play')))
|
||||
|
||||
for d in gradle_subdirs:
|
||||
logging.debug('Triple-T Gradle Play Publisher: ' + d)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue