1
0
Fork 0
mirror of https://git.jami.net/savoirfairelinux/jami-client-qt.git synced 2025-08-04 14:55:43 +02:00

packaging: windows: fix Beta deployment script

Change-Id: I8facd465cd0c8eb0509b66b6f87008c6a86e89bd
This commit is contained in:
Andreas Traczyk 2023-06-06 11:52:26 -04:00
parent c59ac1dd7f
commit 5508f28c63

View file

@ -294,11 +294,11 @@ def build(config_str, qt_dir, tests):
sys.exit(1) sys.exit(1)
def deploy_runtimes(qt_dir): def deploy_runtimes(config_str, qt_dir):
"""Deploy the dependencies to the runtime directory.""" """Deploy the dependencies to the runtime directory."""
print("Deploying runtime dependencies") print("Deploying runtime dependencies")
runtime_dir = os.path.join(repo_root_dir, "x64", "Release") runtime_dir = os.path.join(repo_root_dir, "x64", config_str)
stamp_file = os.path.join(runtime_dir, ".deploy.stamp") stamp_file = os.path.join(runtime_dir, ".deploy.stamp")
if os.path.exists(stamp_file): if os.path.exists(stamp_file):
return return
@ -533,7 +533,7 @@ def main():
if not parsed_args.skip_build: if not parsed_args.skip_build:
build(config_str, parsed_args.qt, do_tests) build(config_str, parsed_args.qt, do_tests)
if not parsed_args.skip_deploy: if not parsed_args.skip_deploy:
deploy_runtimes(parsed_args.qt) deploy_runtimes(config_str, parsed_args.qt)
if parsed_args.subcommand == "pack": if parsed_args.subcommand == "pack":
do_build(False) do_build(False)