Commit 6ba647ba authored by Hans-Christoph Steiner's avatar Hans-Christoph Steiner
Browse files

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 !883
parents dbf80ad7 553daf85
Pipeline #271977195 passed with stage
in 19 minutes and 8 seconds
......@@ -1058,6 +1058,8 @@ def copy_triple_t_store_metadata(apps):
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)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment