From 67e69505828e6ae5ef81f98f2d79e426c4c91540 Mon Sep 17 00:00:00 2001 From: Michael Hollister Date: Mon, 21 Oct 2024 14:59:08 -0500 Subject: [PATCH] Fix paths --- receivers/electron/scripts/deploy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/receivers/electron/scripts/deploy.py b/receivers/electron/scripts/deploy.py index 3496934..a9dcf60 100644 --- a/receivers/electron/scripts/deploy.py +++ b/receivers/electron/scripts/deploy.py @@ -108,7 +108,7 @@ def upload_local_cache(current_version): if RELEASE_CANDIDATE and version == current_version: rc_path = rel_path[:rel_path.rfind('.')] + f'_rc{RELEASE_CANDIDATE_VERSION}' + rel_path[rel_path.rfind('.'):] - os.rename(rel_path, rc_path) + os.rename(os.path.join(root, rel_path), os.path.join(root, rc_path)) rel_path = rc_path local_files.append(rel_path)