cmd/stupgrades: Serve friendlier URLs for upgrade assets (fixes #9033)

This commit is contained in:
Jakob Borg
2023-08-09 21:01:15 +02:00
parent b347c14bd1
commit 462389934b
2 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ type Asset struct {
// The browser URL is needed for human readable links in the output created
// by cmd/stupgrades.
BrowserURL string `json:"browser_download_url"`
BrowserURL string `json:"browser_download_url,omitempty"`
}
var (