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

View file

@ -327,6 +327,8 @@ type HookReleaseAction string
// all release actions // all release actions
const ( const (
HookReleasePublished HookReleaseAction = "published" HookReleasePublished HookReleaseAction = "published"
HookReleaseUpdated HookReleaseAction = "updated"
HookReleaseDeleted HookReleaseAction = "deleted"
) )
// ReleasePayload represents a payload information of release event. // ReleasePayload represents a payload information of release event.