feat(githubish): add TarballURL and ZipballURL to Release

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.
This commit is contained in:
AJ ONeal
2026-03-09 20:57:01 -06:00
parent 1116dd3935
commit 6576ca65b6

View File

@@ -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.