Documentation
¶
Overview ¶
Package service wraps engine interfaces with common logic unrelated to any particular engine implementation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Category ¶
Category describes pull request category with its title, which will be derived to template and labels, that indicates the belonging to this category.
type ReleaseNotesBuilder ¶
type ReleaseNotesBuilder struct {
Template string
Categories []Category
IgnoreLabels []string
UnusedTitle string
SortField string
Extras map[string]string
// contains filtered or unexported fields
}
ReleaseNotesBuilder provides methods to form changelog.
func (*ReleaseNotesBuilder) Build ¶
func (s *ReleaseNotesBuilder) Build(version string, closedPRs []git.PullRequest) (string, error)
Build builds the changelog for the tag.
type Service ¶
type Service struct {
Engine engine.Interface
ReleaseNotesBuilder *ReleaseNotesBuilder
Notifier notify.Destination
}
Service wraps repository storage and services
func (*Service) ReleaseBetween ¶
ReleaseBetween makes a release between two commit SHAs.
Click to show internal directories.
Click to hide internal directories.