Merge branch '195-auto-updater-install-a-broken-version-of-the-addon' into 'develop'

Resolve "Auto updater install a broken version of the addon"

See merge request slumber/multi-user!123
This commit is contained in:
Swann Martinez 2021-06-15 12:54:49 +00:00
commit a996f39d3b

View File

@ -1688,10 +1688,7 @@ class GitlabEngine(object):
# Could clash with tag names and if it does, it will
# download TAG zip instead of branch zip to get
# direct path, would need.
return "{}{}{}".format(
self.form_repo_url(updater),
"/repository/archive.zip?sha=",
branch)
return f"https://gitlab.com/slumber/multi-user/-/jobs/artifacts/{branch}/download?job=build"
def get_zip_url(self, sha, updater):
return "{base}/repository/archive.zip?sha={sha}".format(