limit release backup to main repo only

This commit is contained in:
Simon 2023-08-29 11:19:48 +07:00
parent 4a3f7bee37
commit 63432192ea
No known key found for this signature in database
GPG Key ID: 2C15AA5E89985DD4

View File

@ -122,6 +122,7 @@ class GithubHook(WebhookBase):
tag_name = self.hook["release"]["tag_name"] tag_name = self.hook["release"]["tag_name"]
task = TaskHandler(self.repo_conf, tag_name=tag_name) task = TaskHandler(self.repo_conf, tag_name=tag_name)
task.create_task("build_release") task.create_task("build_release")
if self.repo == "tubearchivist":
GithubBackup(tag_name).save_tag() GithubBackup(tag_name).save_tag()
def save_hook(self): def save_hook(self):