Archived
lib/upgrade: Add html_url release field
This commit is contained in:
1 parent
6408a116f9
commit
6b570ee8dc
1 file changed
+4
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user