1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-08-16 03:10:09 +02:00

build: fix typo in regex for Binaries: verification

This commit is contained in:
Hans-Christoph Steiner 2021-04-12 09:19:11 +02:00
parent 3d69e767d8
commit 6097caef91
No known key found for this signature in database
GPG Key ID: 3E177817BA1B9BFA

View File

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