add release hook types (#107)

This commit is contained in:
Lunny Xiao 2018-05-18 14:06:32 +08:00 committed by Bo-Yi Wu
parent 7fa627fa5d
commit b2308e3f70
1 changed files with 2 additions and 0 deletions

View File

@ -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.