From 9d5d276fe8108ee15307d9b5b49b24c99ae3865e Mon Sep 17 00:00:00 2001 From: Archipelago Date: Fri, 13 Nov 2026 20:18:34 +0300 Subject: [PATCH] Resume: recreate the worker run directory before freezing sources --- pipeline/release-cycle.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pipeline/release-cycle.py b/pipeline/release-cycle.py index 52c1292..a4c5276 100644 --- a/pipeline/release-cycle.py +++ b/pipeline/release-cycle.py @@ -225,7 +225,8 @@ def main(): previous_binary = remote_text('sha256sum ' + shlex.quote(remote_root + '/archipelago') + " | cut -d' ' -f1") phase('freezing-and-compiling-source') - remote(f'''tar --exclude=.git --exclude=target --exclude=__pycache__ -C {shlex.quote(config['worker_source_root'])} -cf {remote_root}/source.tar src + remote(f'''mkdir -p {shlex.quote(remote_root)} +tar --exclude=.git --exclude=target --exclude=__pycache__ -C {shlex.quote(config['worker_source_root'])} -cf {remote_root}/source.tar src mkdir -p {remote_root}/source tar -xf {remote_root}/source.tar -C {remote_root}/source cp -a {remote_root}/source/src/test-lab/probes {remote_root}/probes