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