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)