mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +03:00
keep .apk file ext when diffoscope'ing Binaries:
This commit is contained in:
parent
2ecaf6ef8d
commit
67d98c5a36
2 changed files with 3 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
import sys
|
||||
import os
|
||||
import re
|
||||
import shutil
|
||||
import glob
|
||||
import hashlib
|
||||
|
|
@ -128,7 +129,7 @@ def main():
|
|||
# version if everything checks out.
|
||||
# The binary should already have been retrieved during the build
|
||||
# process.
|
||||
srcapk = apkfile + ".binary"
|
||||
srcapk = re.sub(r'.apk$', '.binary.apk', apkfile)
|
||||
|
||||
# Compare our unsigned one with the downloaded one...
|
||||
compare_result = common.verify_apks(srcapk, apkfile, tmp_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue