diff --git a/src/sinol_make/util.py b/src/sinol_make/util.py index a5813db6..c137c30f 100644 --- a/src/sinol_make/util.py +++ b/src/sinol_make/util.py @@ -214,7 +214,9 @@ def check_version(): return data = request.json() - latest_version = data["info"]["version"] + versions = list(data["releases"].keys()) + versions.sort(key=parse_version) + latest_version = versions[-1] version_file = importlib.files("sinol_make").joinpath("data/version") try: