From 5726432159969390fde9b1963a7f122de8724d61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20P=C3=B6hn?= Date: Mon, 2 Jul 2018 15:28:22 +0200 Subject: [PATCH] fix ignoring developer supplied reference apks for reproducible builds when publishing --- fdroidserver/publish.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fdroidserver/publish.py b/fdroidserver/publish.py index b80f9ea5..74f019c0 100644 --- a/fdroidserver/publish.py +++ b/fdroidserver/publish.py @@ -210,6 +210,10 @@ def main(): for apkfile in sorted(glob.glob(os.path.join(unsigned_dir, '*.apk')) + glob.glob(os.path.join(unsigned_dir, '*.zip'))): + # skip over developer supplied reference binaries for reproducible builds + if apkfile.endswith('.binary.apk'): + continue + appid, vercode = common.publishednameinfo(apkfile) apkfilename = os.path.basename(apkfile) if vercodes and appid not in vercodes: