Documentation
¶
Index ¶
Constants ¶
View Source
const DefaultReleasesSentinel = "\n## <a id='releases'></a> Releases\n\n"
Variables ¶
This section is empty.
Functions ¶
func DefaultTemplate ¶
func DefaultTemplate() string
func IssueTitleRegex ¶
func ReleaseExpression ¶
Types ¶
type BOSHReleaseData ¶
type BOSHReleaseData struct { cargo.ComponentLock Releases []*github.RepositoryRelease }
func (BOSHReleaseData) HasReleaseNotes ¶
func (cd BOSHReleaseData) HasReleaseNotes() bool
type Data ¶
type Data struct { Version *semver.Version ReleaseDate time.Time Issues []*github.Issue Components []BOSHReleaseData Bumps cargo.BumpList Stemcell cargo.Stemcell }
func FetchDataWithoutRepo ¶
func FetchDataWithoutRepo(ctx context.Context, client *github.Client, tileRepoOwner, tileRepoName string, kilnfile cargo.Kilnfile, kilnfileLockInitial, kilnfileLockFinal cargo.KilnfileLock, issuesQuery IssuesQuery) (Data, error)
FetchDataWithoutRepo can be used to generate release notes from tile metadata
func (Data) HasComponentReleases ¶
func (Data) WriteVersionNotes ¶
func (notes Data) WriteVersionNotes() (TileRelease, error)
type IssuesQuery ¶
type IssuesQuery struct { IssueIDs []string `` /* 149-byte string literal not displayed */ IssueMilestone string `` /* 130-byte string literal not displayed */ IssueLabels []string `long:"github-issue-label" short:"l" description:"issue labels to add to issues query"` IssueTitleExp string `` /* 338-byte string literal not displayed */ }
type Page ¶
type Page struct { Exp *regexp.Regexp Prefix, Suffix string Releases []TileRelease }
func (*Page) Add ¶
func (page *Page) Add(versionNote TileRelease) error
type TileRelease ¶
Click to show internal directories.
Click to hide internal directories.