Documentation
¶
Overview ¶
Package config contains the definition of the configuration file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// categories to parse in pull requests
Categories []struct {
Title string `yaml:"title"`
Labels []string `yaml:"labels"`
// regexp to match branch name
Branch string `yaml:"branch"`
} `yaml:"categories"`
// labels for pull requests, which won't be in release notes
IgnoreLabels []string `yaml:"ignore_labels"`
// field, by which pull requests must be sorted, in format +|-field
// currently supported fields: number, author, title, closed
SortField string `yaml:"sort_field"`
// template for a changelog.
Template string `yaml:"template"`
// template for release with no changes
EmptyTemplate string `yaml:"empty_template"`
// if set, the unused category will be built under this title at the
// end of the changelog
UnusedTitle string `yaml:"unused_title"`
}
Config defines configuration for the release notes builder.
Click to show internal directories.
Click to hide internal directories.