add option to include github prereleases

This commit is contained in:
Mystically
2025-01-09 21:19:13 +01:00
parent 85b8ee493e
commit ed477e8cc6
4 changed files with 47 additions and 23 deletions

View File

@@ -16,9 +16,10 @@ const (
)
type ReleaseRequest struct {
Source ReleaseSource
Repository string
Token *string
Source ReleaseSource
Repository string
Token *string
IncludeGithubPreReleases bool
}
func FetchLatestReleases(requests []*ReleaseRequest) (AppReleases, error) {