1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-07-22 16:07:00 +00:00

Fix paths

This commit is contained in:
Michael Hollister 2024-10-21 14:59:08 -05:00
parent 1e1ef7cb8a
commit 67e6950582

View file

@ -108,7 +108,7 @@ def upload_local_cache(current_version):
if RELEASE_CANDIDATE and version == 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('.'):] 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 rel_path = rc_path
local_files.append(rel_path) local_files.append(rel_path)