diff --git a/cmd/webicached/main.go b/cmd/webicached/main.go index 86ea09e..aabc415 100644 --- a/cmd/webicached/main.go +++ b/cmd/webicached/main.go @@ -620,6 +620,16 @@ func classifyGitHub(pkg string, conf *installerconf.Conf, d *rawcache.Dir) ([]st Date: date, }) } + // Git clone asset — same as gittag source. + gitURL := fmt.Sprintf("https://github.com/%s/%s.git", owner, repo) + assets = append(assets, storage.Asset{ + Filename: tag, + Version: version, + Channel: channel, + Format: ".git", + Download: gitURL, + Date: date, + }) } } return assets, nil