mirror of
https://github.com/Mic92/nix-update.git
synced 2024-09-17 13:27:27 +03:00
make gitlab updater work by tag when releases are disabled
This commit is contained in:
parent
ae70579d8d
commit
6e4ee6941a
@ -30,7 +30,7 @@ def fetch_gitlab_versions(url: ParseResult) -> list[Version]:
|
||||
for tag in json_tags:
|
||||
name = tag["name"]
|
||||
assert isinstance(name, str)
|
||||
if tag["release"]:
|
||||
if tag.get("release"):
|
||||
# TODO: has gitlab preleases?
|
||||
releases.append(Version(name))
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user