mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-11-26 01:26:42 -05:00
release-tool: Move appimage zsync file to output dir (#12597)
This commit is contained in:
parent
20c7d35216
commit
61fdb85a3c
1 changed files with 4 additions and 0 deletions
|
|
@ -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):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue