mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-12-04 15:39:34 +01:00
release-tool: Move appimage zsync file to output dir (#12597)
This commit is contained in:
@@ -832,6 +832,10 @@ class Build(Command):
|
|||||||
f'KeePassXC-*-{platform_target}.AppImage.zsync',
|
f'KeePassXC-*-{platform_target}.AppImage.zsync',
|
||||||
app_dir.as_posix(), (output_dir.absolute() / appimage_name).as_posix()],
|
app_dir.as_posix(), (output_dir.absolute() / appimage_name).as_posix()],
|
||||||
cwd=build_dir, capture_output=False, path=env_path, **docker_args, docker_privileged=True)
|
cwd=build_dir, capture_output=False, path=env_path, **docker_args, docker_privileged=True)
|
||||||
|
# Move appimage zsync file to output dir
|
||||||
|
zsync_file = next(Path(build_dir).glob('*.AppImage.zsync'), None)
|
||||||
|
if zsync_file and zsync_file.is_file():
|
||||||
|
shutil.move(zsync_file.absolute(), output_dir.absolute() / zsync_file.name)
|
||||||
|
|
||||||
|
|
||||||
class BuildSrc(Command):
|
class BuildSrc(Command):
|
||||||
|
|||||||
Reference in New Issue
Block a user