From 30e7dc9ccb4b4f917910b91f662a46c308afcb9c Mon Sep 17 00:00:00 2001 From: cameronbraid Date: Sun, 17 Jan 2021 23:14:34 +0800 Subject: [PATCH] Add html_url field to Release struct (#477) gitea server returns a html_url field so make this available in the Release struct Co-authored-by: Cameron Braid Reviewed-on: https://gitea.com/gitea/go-sdk/pulls/477 Reviewed-by: 6543 <6543@obermui.de> Reviewed-by: Norwin Co-authored-by: cameronbraid Co-committed-by: cameronbraid --- gitea/release.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gitea/release.go b/gitea/release.go index 502e5da..cd6f4f5 100644 --- a/gitea/release.go +++ b/gitea/release.go @@ -21,6 +21,7 @@ type Release struct { Title string `json:"name"` Note string `json:"body"` URL string `json:"url"` + HTMLURL string `json:"html_url"` TarURL string `json:"tarball_url"` ZipURL string `json:"zipball_url"` IsDraft bool `json:"draft"`