fix invalid extension of output apk

This commit is contained in:
linsui 2021-06-19 13:30:56 +08:00 committed by Jochen Sprickerhof
parent ab0fe06343
commit 763a2ee80d
3 changed files with 40 additions and 3 deletions

View file

@ -810,7 +810,12 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
# Copy the unsigned APK to our destination directory for further
# processing (by publish.py)...
dest = os.path.join(output_dir, common.get_release_filename(app, build))
dest = os.path.join(
output_dir,
common.get_release_filename(
app, build, common.get_file_extension(src)
)
)
shutil.copyfile(src, dest)
# Move the source tarball into the output directory...