mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-05-25 01:52:45 +00:00
Rewrites the Node.js release classification pipeline in Go. webicached fetches upstream releases (GitHub, Gitea, GitLab, HashiCorp, custom sources), classifies assets by OS/arch/variant, and writes legacy-format JSON caches compatible with the existing webinstall.dev API. Git-clone packages emit git_tag and git_commit_hash from real repo clones — no fabricated refs.
16 lines
440 B
Go
16 lines
440 B
Go
// Package xcaddy provides variant tagging for xcaddy releases.
|
|
//
|
|
// xcaddy publishes .deb packages alongside the standard archives.
|
|
package xcaddydist
|
|
|
|
import "github.com/webinstall/webi-installers/internal/storage"
|
|
|
|
// TagVariants tags xcaddy-specific build variants.
|
|
func TagVariants(assets []storage.Asset) {
|
|
for i := range assets {
|
|
if assets[i].Format == ".deb" {
|
|
assets[i].Variants = append(assets[i].Variants, "deb")
|
|
}
|
|
}
|
|
}
|