1
0
Fork 0
mirror of https://gitlab.com/futo-org/fcast.git synced 2025-06-24 21:25:23 +00:00

Changing to dash

This commit is contained in:
Michael Hollister 2024-10-21 15:08:12 -05:00
parent ae148ca0c0
commit cb367629f0

View file

@ -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)