diff --git a/receivers/electron/scripts/deploy.py b/receivers/electron/scripts/deploy.py index 216180a..b4a8c15 100644 --- a/receivers/electron/scripts/deploy.py +++ b/receivers/electron/scripts/deploy.py @@ -106,7 +106,7 @@ def upload_local_cache(): rel_path = os.path.relpath(os.path.join(root, filename), LOCAL_CACHE_DIR) if RELEASE_CANDIDATE: - rc_path = rel_path[rel_path.rfind('.'):] + f'_rc{RELEASE_CANDIDATE_VERSION}' + rel_path[:rel_path.rfind('.')] + rc_path = rel_path[:rel_path.rfind('.')] + f'_rc{RELEASE_CANDIDATE_VERSION}' + rel_path[rel_path.rfind('.'):] os.rename(rel_path, rc_path) rel_path = rc_path