Skip to content

Commit

Permalink
Merge pull request #1500 from LewisTheobald/patch-1
Browse files Browse the repository at this point in the history
Including the tag_message field for annotated tag releases
  • Loading branch information
svanharmelen authored Jun 27, 2022
2 parents 7a7ea97 + 6f600cf commit 40de111
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions releases.go
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,10 @@ func (s *ReleasesService) GetRelease(pid interface{}, tagName string, options ..
// GitLab API docs:
// https://docs.gitlab.com/ce/api/releases/index.html#create-a-release
type CreateReleaseOptions struct {
Name *string `url:"name" json:"name"`
TagName *string `url:"tag_name" json:"tag_name"`
Description *string `url:"description" json:"description"`
Name *string `url:"name,omitempty" json:"name,omitempty"`
TagName *string `url:"tag_name,omitempty" json:"tag_name,omitempty"`
TagMessage *string `url:"tag_message,omitempty" json:"tag_message,omitempty"`
Description *string `url:"description,omitempty" json:"description,omitempty"`
Ref *string `url:"ref,omitempty" json:"ref,omitempty"`
Milestones *[]string `url:"milestones,omitempty" json:"milestones,omitempty"`
Assets *ReleaseAssetsOptions `url:"assets,omitempty" json:"assets,omitempty"`
Expand Down

0 comments on commit 40de111

Please sign in to comment.