add option to include github prereleases
This commit is contained in:
parent
85b8ee493e
commit
ed477e8cc6
4 changed files with 47 additions and 23 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue