Commit 1374845d authored by Sander van Harmelen's avatar Sander van Harmelen

Fixup PR #190

parent 331a5ff8
......@@ -36,13 +36,16 @@ type TagsService struct {
// https://gitlab.com/gitlab-org/gitlab-ce/blob/8-16-stable/doc/api/tags.md
type Tag struct {
Commit *Commit `json:"commit"`
Release struct {
TagName string `json:"tag_name"`
Description string `json:"description"`
} `json:"release"`
Name string `json:"name"`
Message string `json:"message"`
ReleaseDescription string `json:"release_description"`
}
func (r Tag) String() string {
return Stringify(r)
func (t Tag) String() string {
return Stringify(t)
}
// ListTags gets a list of tags from a project, sorted by name in reverse
......
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