From dabf2d1d0067a99a12f8f27a9beeb06dbf110e83 Mon Sep 17 00:00:00 2001 From: Lewis Theobald Date: Mon, 27 Jun 2022 13:56:55 +0100 Subject: [PATCH] Including the tag_message field for annotated tag releases --- releases.go | 1 + 1 file changed, 1 insertion(+) diff --git a/releases.go b/releases.go index 6500e38fe..38a9ff4fa 100644 --- a/releases.go +++ b/releases.go @@ -126,6 +126,7 @@ func (s *ReleasesService) GetRelease(pid interface{}, tagName string, options .. type CreateReleaseOptions struct { Name *string `url:"name" json:"name"` TagName *string `url:"tag_name" json:"tag_name"` + TagMessage *string `url:"tag_message" json:"tag_message"` Description *string `url:"description" json:"description"` Ref *string `url:"ref,omitempty" json:"ref,omitempty"` Milestones *[]string `url:"milestones,omitempty" json:"milestones,omitempty"`