From b2308e3f700875a3642a78bd3f6e5db8ef6f974d Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Fri, 18 May 2018 14:06:32 +0800 Subject: [PATCH] add release hook types (#107) --- gitea/hook.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gitea/hook.go b/gitea/hook.go index 85d9965..f346381 100644 --- a/gitea/hook.go +++ b/gitea/hook.go @@ -327,6 +327,8 @@ type HookReleaseAction string // all release actions const ( HookReleasePublished HookReleaseAction = "published" + HookReleaseUpdated HookReleaseAction = "updated" + HookReleaseDeleted HookReleaseAction = "deleted" ) // ReleasePayload represents a payload information of release event.