keep .apk file ext when diffoscope'ing Binaries:

This commit is contained in:
Hans-Christoph Steiner 2017-07-15 20:15:30 +00:00
parent 2ecaf6ef8d
commit 67d98c5a36
2 changed files with 3 additions and 2 deletions

View file

@ -1158,7 +1158,7 @@ def main():
url = url.replace('%v', build.versionName)
url = url.replace('%c', str(build.versionCode))
logging.info("...retrieving " + url)
of = common.get_release_filename(app, build) + '.binary'
of = re.sub(r'.apk$', '.binary.apk', common.get_release_filename(app, build))
of = os.path.join(output_dir, of)
try:
net.download_file(url, local_filename=of)