diff --git a/receivers/electron/scripts/deploy.py b/receivers/electron/scripts/deploy.py index 41ce8f9..5100dce 100644 --- a/receivers/electron/scripts/deploy.py +++ b/receivers/electron/scripts/deploy.py @@ -108,7 +108,7 @@ def upload_local_cache(current_version): version = rel_path.split('/')[1] if RELEASE_CANDIDATE and version == current_version: - rc_path = full_path[:full_path.rfind('.')] + f'_rc{RELEASE_CANDIDATE_VERSION}' + full_path[full_path.rfind('.'):] + rc_path = full_path[:full_path.rfind('.')] + f'-rc{RELEASE_CANDIDATE_VERSION}' + full_path[full_path.rfind('.'):] os.rename(full_path, rc_path) rel_path = os.path.relpath(rc_path, LOCAL_CACHE_DIR)