Skip to content

Commit

Permalink
Fix the upstream fetcher's detection of 6.10
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Brennan <[email protected]>
  • Loading branch information
brenns10 committed Jul 15, 2024
1 parent a913f24 commit b5818e6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions kconfigs/upstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,11 @@ async def is_updated(self) -> bool:
kernel = UpstreamKernel.from_item(item)
# Use 6.1.15 or 6.1-rc5 for release "6.1",
# but do not use 6.10!
if kernel.version.startswith(
self.release + "."
) or kernel.version.startswith(self.release + "-"):
if (
kernel.version == self.release
or kernel.version.startswith(self.release + ".")
or kernel.version.startswith(self.release + "-")
):
self.__latest_version = kernel.version
self.__latest_url = kernel.url
break
Expand Down

0 comments on commit b5818e6

Please sign in to comment.