lib/upgrade: Include browser_download_url field

This commit is contained in:
Jakob Borg 2019-08-29 16:10:13 +02:00
parent 0832285d79
commit 5851aabe02

View File

@ -26,6 +26,10 @@ type Release struct {
type Asset struct {
URL string `json:"url"`
Name string `json:"name"`
// The browser URL is needed for human readable links in the output created
// by cmd/stupgrades.
BrowserURL string `json:"browser_download_url"`
}
var (