1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-13 02:30:11 +01:00

nightly: search subdirs called 'fdroid' for APKs

@MTRNord tracked down this bug while working on his app
https://gitlab.com/Nordgedanken/simplematrix
This commit is contained in:
Hans-Christoph Steiner 2019-02-22 21:32:33 +01:00
parent daff6658c0
commit 548f73d988

View File

@ -249,8 +249,8 @@ Last updated: {date}'''.format(repo_git_base=repo_git_base,
common.assert_config_keystore(config)
for root, dirs, files in os.walk(cibase):
for d in ('fdroid', '.git', '.gradle'):
if d in dirs:
for d in dirs:
if d == '.git' or d == '.gradle' or (d == 'fdroid' and root == cibase):
dirs.remove(d)
for f in files:
if f.endswith('-debug.apk'):