Skip to content

Commit

Permalink
Fixed finding newest development version
Browse files Browse the repository at this point in the history
  • Loading branch information
MasloMaslane committed Apr 4, 2024
1 parent b6d9756 commit 573ec56
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sinol_make/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 573ec56

Please sign in to comment.