1
0
Fork 0

autoupdate app sources: skip app for which new branch already exists

This commit is contained in:
Alexandre Aubin 2023-04-05 17:07:36 +02:00
parent bb2c3cb76f
commit fe5f206a0c

View file

@ -210,7 +210,8 @@ class AppAutoUpdater:
commit_sha = self.repo.get_branch(self.base_branch).commit.sha
self.repo.create_git_ref(ref=f"refs/heads/{new_branch}", sha=commit_sha)
except:
pass
print("... Branch already exists, skipping")
return False
manifest_new = self.manifest_raw
for source, infos in todos.items():