Skip to content

Commit

Permalink
Merge pull request #834 from ajayk/tags
Browse files Browse the repository at this point in the history
GithubReleaseMonitor: add tagprefix and tagcontains to be used in git…
  • Loading branch information
ajayk authored Nov 8, 2023
2 parents 0fde8c7 + 751522b commit ecd6ea9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions pkg/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,12 @@ type GitHubMonitor struct {
// If the version in GitHub contains a suffix which should be ignored
StripSuffix string `json:"strip-suffix,omitempty" yaml:"strip-suffix,omitempty"`
// Filter to apply when searching tags on a GitHub repository
// Deprecated: Use TagFilterPrefix instead
TagFilter string `json:"tag-filter,omitempty" yaml:"tag-filter,omitempty"`
// Prefix filter to apply when searching tags on a GitHub repository
TagFilterPrefix string `json:"tag-filter-prefix,omitempty" yaml:"tag-filter-prefix,omitempty"`
// Filter to apply when searching tags on a GitHub repository
TagFilterContains string `json:"tag-filter-contains,omitempty" yaml:"tag-filter-contains,omitempty"`
// Override the default of using a GitHub release to identify related tag to
// fetch. Not all projects use GitHub releases but just use tags
UseTags bool `json:"use-tag,omitempty" yaml:"use-tag,omitempty"`
Expand Down

0 comments on commit ecd6ea9

Please sign in to comment.