autoupdate app sources: skip app for which new branch already exists
This commit is contained in:
parent
bb2c3cb76f
commit
fe5f206a0c
1 changed files with 2 additions and 1 deletions
|
@ -210,7 +210,8 @@ class AppAutoUpdater:
|
||||||
commit_sha = self.repo.get_branch(self.base_branch).commit.sha
|
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)
|
self.repo.create_git_ref(ref=f"refs/heads/{new_branch}", sha=commit_sha)
|
||||||
except:
|
except:
|
||||||
pass
|
print("... Branch already exists, skipping")
|
||||||
|
return False
|
||||||
|
|
||||||
manifest_new = self.manifest_raw
|
manifest_new = self.manifest_raw
|
||||||
for source, infos in todos.items():
|
for source, infos in todos.items():
|
||||||
|
|
Loading…
Reference in a new issue