Skip to content

Commit

Permalink
feat: no need to specify bf1chs part in release
Browse files Browse the repository at this point in the history
  • Loading branch information
zyf722 committed Jun 4, 2024
1 parent ca1fa66 commit 69ffcfd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bf1chs/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,8 +110,8 @@ def get_latest_asset(self, time_key: str, response: Optional[Response] = None):
):
latest_published_time = published_time
latest_asset_url = asset["browser_download_url"]
latest_version = release["name"].split(" ")[-1]
latest_log = release["body"].split("## `bf1chs`\r\n")[1]
latest_version = release["name"]
latest_log = release["body"]

assert latest_published_time is not None
return (latest_asset_url, latest_version, latest_published_time, latest_log)
Expand Down

0 comments on commit 69ffcfd

Please sign in to comment.