1
0
Fork 0

fix return

This commit is contained in:
OniriCorpe 2024-01-04 23:22:20 +01:00
parent 06927ae724
commit 14d79aa8af

View file

@ -239,6 +239,8 @@ class AppAutoUpdater:
message = "Upgrade sources" message = "Upgrade sources"
new_branch = "ci-auto-update-sources" new_branch = "ci-auto-update-sources"
print(message)
try: try:
# Get the commit base for the new branch, and create it # Get the commit base for the new branch, and create it
commit_sha = self.repo.get_branch(self.base_branch).commit.sha commit_sha = self.repo.get_branch(self.base_branch).commit.sha
@ -317,7 +319,7 @@ class AppAutoUpdater:
latest_tarball = ( latest_tarball = (
f"{upstream}/archive/refs/tags/{latest_version_orig}.tar.gz" f"{upstream}/archive/refs/tags/{latest_version_orig}.tar.gz"
) )
return latest_version, latest_tarball return latest_version, latest_tarball, latest_release_html_url
# FIXME # FIXME
else: else:
if isinstance(asset, str): if isinstance(asset, str):