lib/upgrade: Add html_url release field

This commit is contained in:
Jakob Borg 2019-10-08 09:10:04 +02:00
parent 6408a116f9
commit 6b570ee8dc
1 changed files with 4 additions and 0 deletions

View File

@ -21,6 +21,10 @@ type Release struct {
Tag string `json:"tag_name"`
Prerelease bool `json:"prerelease"`
Assets []Asset `json:"assets"`
// The HTML URL is needed for human readable links in the output created
// by cmd/stupgrades.
HTMLURL string `json:"html_url"`
}
type Asset struct {