fix return
This commit is contained in:
parent
06927ae724
commit
14d79aa8af
1 changed files with 3 additions and 1 deletions
|
@ -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):
|
||||||
|
|
Loading…
Reference in a new issue