From c31fff4857ac576ec0b5d7432b3c00611ba219a5 Mon Sep 17 00:00:00 2001 From: Tristan Kuehn Date: Wed, 8 Feb 2023 16:09:38 -0500 Subject: [PATCH] Overwrite current symlink for deploy --- fabrictasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabrictasks.py b/fabrictasks.py index ffa35b2f..a325d938 100644 --- a/fabrictasks.py +++ b/fabrictasks.py @@ -16,7 +16,7 @@ def push_release( connection.put(wheel_path, remote_release_new) connection.put(str(new_release_path / ".env"), remote_release_new) link_name = str(remote_releases_dir.parent / "current") - connection.run(f"ln -s {remote_release_new} {link_name}") + connection.run(f"ln -sf {remote_release_new} {link_name}") def install_wheel(connection: Connection, venv_path: str, wheel_path: str):