limit release backup to main repo only
This commit is contained in:
parent
4a3f7bee37
commit
63432192ea
|
@ -122,7 +122,8 @@ class GithubHook(WebhookBase):
|
|||
tag_name = self.hook["release"]["tag_name"]
|
||||
task = TaskHandler(self.repo_conf, tag_name=tag_name)
|
||||
task.create_task("build_release")
|
||||
GithubBackup(tag_name).save_tag()
|
||||
if self.repo == "tubearchivist":
|
||||
GithubBackup(tag_name).save_tag()
|
||||
|
||||
def save_hook(self):
|
||||
"""save hook to disk for easy debugging"""
|
||||
|
|
Loading…
Reference in New Issue