From 6576ca65b64e148383f4ce6b2b64327a9b202a19 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Mon, 9 Mar 2026 20:57:01 -0600 Subject: [PATCH] feat(githubish): add TarballURL and ZipballURL to Release MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some packages (shell scripts, vim plugins) use the auto-generated source archives rather than uploaded binary assets. These URLs are already in the API response — just needed to be deserialized. --- internal/releases/githubish/githubish.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/releases/githubish/githubish.go b/internal/releases/githubish/githubish.go index d626cc4..7f227af 100644 --- a/internal/releases/githubish/githubish.go +++ b/internal/releases/githubish/githubish.go @@ -28,6 +28,8 @@ type Release struct { Draft bool `json:"draft"` PublishedAt string `json:"published_at"` // "2025-10-22T13:00:26Z" Assets []Asset `json:"assets"` + TarballURL string `json:"tarball_url"` // auto-generated source tarball + ZipballURL string `json:"zipball_url"` // auto-generated source zipball } // Asset is one downloadable file attached to a release.