mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-23 22:16:48 +00:00
fix(webicached): add --tags to git fetch and modernize Go string ops
Bug fix: - gittag: git fetch without --tags misses tags not reachable from any branch, causing stale version lists. Modern Go (Go 1.24+): - strings.SplitSeq instead of strings.Split for iteration - strings.Cut/CutPrefix/CutSuffix instead of Index/HasPrefix/TrimSuffix - min() builtin instead of manual min logic Fix: - node_test: pass required baseURL argument to nodedist.Fetch
This commit is contained in:
@@ -28,8 +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
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user