lib/upgrade: Add html_url release field
This commit is contained in:
parent
6408a116f9
commit
6b570ee8dc
|
@ -21,6 +21,10 @@ type Release struct {
|
||||||
Tag string `json:"tag_name"`
|
Tag string `json:"tag_name"`
|
||||||
Prerelease bool `json:"prerelease"`
|
Prerelease bool `json:"prerelease"`
|
||||||
Assets []Asset `json:"assets"`
|
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 {
|
type Asset struct {
|
||||||
|
|
Loading…
Reference in New Issue