Documentation ¶
Index ¶
- Variables
- func CheckFilter(ctx context.Context, filter *config.FilterConfig, in string) bool
- func CheckFilters(ctx context.Context, branches *config.FilterConfig, tags *config.FilterConfig) bool
- func ColorName(s string) string
- func FindGitDir(_ context.Context) string
- func Name(_ context.Context, segments ...string) string
- func NewLogTailer(output io.Writer, prefix string) io.Writer
- func PadName(s string, n int) string
- func Run(ctx context.Context, cmd *config.RunConfig, cfg *config.Config) error
- func TagCommits(_ context.Context, commits []*Commit, tags map[string]string)
- type Branch
- type Changelog
- type ChangelogRelease
- type Commit
- type CommitType
- type Git
- type GitHub
- func (g GitHub) CreateRelease(ctx context.Context, tag string, body string, ref *string) (*github.RepositoryRelease, error)
- func (g GitHub) GetCommits(ctx context.Context) ([]*Commit, error)
- func (g GitHub) GetTags(ctx context.Context) (map[string]string, error)
- func (g GitHub) UploadAsset(ctx context.Context, relID int64, artifact string) error
- type GitRef
- type GoMod
- type LogTailer
- type Message
- type Module
- type Release
- type ReleaseSection
- type Replace
- type Repository
- type Require
- type Tag
Constants ¶
This section is empty.
Variables ¶
View Source
var WordLists = make(map[string][]string)
Functions ¶
func CheckFilter ¶
func CheckFilters ¶
func CheckFilters(ctx context.Context, branches *config.FilterConfig, tags *config.FilterConfig) bool
func FindGitDir ¶
Types ¶
type Changelog ¶
type Changelog struct { Repository string Releases []*ChangelogRelease }
type ChangelogRelease ¶
type Commit ¶
type CommitType ¶
type CommitType string
func GetCommitTypes ¶
func GetCommitTypes() []CommitType
func NewType ¶
func NewType(s string) CommitType
func (CommitType) Description ¶
func (t CommitType) Description() string
func (CommitType) IsMinor ¶
func (t CommitType) IsMinor() bool
func (CommitType) IsPatch ¶
func (t CommitType) IsPatch() bool
func (CommitType) String ¶
func (t CommitType) String() string
func (CommitType) Title ¶
func (t CommitType) Title() string
type GitHub ¶
type GitHub struct {
// contains filtered or unexported fields
}
func (GitHub) CreateRelease ¶
type GoMod ¶
type LogTailer ¶ added in v1.18.0
type LogTailer struct {
// contains filtered or unexported fields
}
type Message ¶
type Message struct { Type CommitType IsBreaking bool Scope string Subject string Body string BreakingMessage string }
func ParseMessage ¶
func (Message) ScopePrefix ¶
type Release ¶
type ReleaseSection ¶
type Repository ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.