fix: auto updater with tags

This commit is contained in:
Swann Martinez 2022-02-10 16:06:53 +01:00
parent 745f45b682
commit 62f52db5b2

View File

@ -1703,7 +1703,7 @@ class GitlabEngine(object):
def parse_tags(self, response, updater): def parse_tags(self, response, updater):
if response == None: if response == None:
return [] return []
return [{"name": tag["name"], "zipball_url": self.get_zip_url(tag["commit"]["id"], updater)} for tag in response] return [{"name": tag["name"], "zipball_url": f"https://gitlab.com/slumber/multi-user/-/jobs/artifacts/{tag['name']}/download?job=build"} for tag in response]
# ----------------------------------------------------------------------------- # -----------------------------------------------------------------------------