Buckets:

download
raw
650 Bytes
# /// script
# dependencies = [
# ]
# ///
"""Helper for finding Randovania version out of a directory with release artifacts. Used by CI."""
import argparse
from pathlib import Path
def main():
parser = argparse.ArgumentParser()
parser.add_argument("artifact_dir", type=Path)
args = parser.parse_args()
artifact_dir: Path = args.artifact_dir
versions = {file.name.split("-")[1] for file in artifact_dir.glob("randovania-*")}
if len(versions) != 1:
raise ValueError(f"Found versions {sorted(versions)} in {artifact_dir}, expected just one")
print(next(iter(versions)))
if __name__ == "__main__":
main()

Xet Storage Details

Size:
650 Bytes
·
Xet hash:
7865be1a7251e4e1b129b6c80333cf8431fc53bf4646cfc1f6cd133002904d5d

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.