Commit 331a5ff8 authored by Raúl Sánchez Ruiz's avatar Raúl Sánchez Ruiz Committed by Sander van Harmelen

Add release_description to tag (#190)

parent 9d0082b7
...@@ -38,6 +38,7 @@ type Tag struct { ...@@ -38,6 +38,7 @@ type Tag struct {
Commit *Commit `json:"commit"` Commit *Commit `json:"commit"`
Name string `json:"name"` Name string `json:"name"`
Message string `json:"message"` Message string `json:"message"`
ReleaseDescription string `json:"release_description"`
} }
func (r Tag) String() string { func (r Tag) String() string {
...@@ -104,6 +105,7 @@ type CreateTagOptions struct { ...@@ -104,6 +105,7 @@ type CreateTagOptions struct {
TagName *string `url:"tag_name,omitempty" json:"tag_name,omitempty"` TagName *string `url:"tag_name,omitempty" json:"tag_name,omitempty"`
Ref *string `url:"ref,omitempty" json:"ref,omitempty"` Ref *string `url:"ref,omitempty" json:"ref,omitempty"`
Message *string `url:"message,omitempty" json:"message,omitempty"` Message *string `url:"message,omitempty" json:"message,omitempty"`
ReleaseDescription *string `url:"release_description:omitempty" json:"release_description,omitempty"`
} }
// CreateTag creates a new tag in the repository that points to the supplied ref. // CreateTag creates a new tag in the repository that points to the supplied ref.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment