Skip to content

Commit

Permalink
make gitlab updater work by tag when releases are disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyinstarlight authored and mergify[bot] committed Jan 17, 2024
1 parent ae70579 commit 6e4ee69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nix_update/version/gitlab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6e4ee69

Please sign in to comment.