diff --git a/pipeline/release-cycle.py b/pipeline/release-cycle.py index 8492cb9..d7a83b0 100644 --- a/pipeline/release-cycle.py +++ b/pipeline/release-cycle.py @@ -107,7 +107,7 @@ def main(): observer = monitor.Monitor(base, stamp) previous = json.loads((parent / 'latest.json').read_text()) if (parent / 'latest.json').exists() else None source = Path(__file__).resolve().parent - shutil.copytree(source, run / 'pipeline', ignore=shutil.ignore_patterns('__pycache__')) + shutil.copytree(source, run / 'pipeline', dirs_exist_ok=True, ignore=shutil.ignore_patterns('__pycache__')) atomic(run / 'config.json', config) worker = config['worker'] remote_root = config['worker_root'] + '/build/release-cycle/' + stamp