From 6b570ee8dc70f99899f2c4eb9a9e48a5d215cea0 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Tue, 8 Oct 2019 09:10:04 +0200 Subject: [PATCH] lib/upgrade: Add html_url release field --- lib/upgrade/upgrade_common.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/upgrade/upgrade_common.go b/lib/upgrade/upgrade_common.go index 163e69f8..04237515 100644 --- a/lib/upgrade/upgrade_common.go +++ b/lib/upgrade/upgrade_common.go @@ -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 {