Documentation
¶
Overview ¶
Package runner manages command-line execution
Index ¶
- func RenderTag(cfg config.Config, t *commit.Tag, ver *commit.Version) (string, error)
- type CheckFailure
- type FailureEntry
- type Runner
- func (r *Runner) Analyze(ctx context.Context, rc string) ([]*commit.Version, error)
- func (r *Runner) Check(ctx context.Context, rc string) error
- func (r *Runner) CheckCommits(ctx context.Context, commits []string) (commit.AnalyzedCommits, error)
- func (r *Runner) CheckCommitsFromGit(ctx context.Context, scope string) (commit.AnalyzedCommits, error)
- func (r *Runner) CheckReadCommit(ctx context.Context, rdr io.Reader) (commit.AnalyzedCommits, error)
- func (r *Runner) CreateTags(ctx context.Context, versions []*commit.Version) error
- func (r *Runner) LatestRelease(ctx context.Context, scope, rc string) (semver.Version, error)
- func (r *Runner) PushTags(ctx context.Context) error
- func (r *Runner) Stats(ctx context.Context) (*Stats, error)
- type Stats
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckFailure ¶ added in v0.6.0
type CheckFailure struct {
Failures []FailureEntry
}
func (CheckFailure) Error ¶ added in v0.6.0
func (cf CheckFailure) Error() string
func (CheckFailure) Is ¶ added in v0.6.0
func (cf CheckFailure) Is(other error) bool
func (CheckFailure) WriteFailure ¶ added in v0.6.0
func (cf CheckFailure) WriteFailure(w io.Writer) error
type FailureEntry ¶ added in v0.6.0
type FailureEntry struct {
// contains filtered or unexported fields
}
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
func (*Runner) Check ¶
Check checks initial requirements for release, such as being on the right branch.
func (*Runner) CheckCommits ¶ added in v0.6.3
func (*Runner) CheckCommitsFromGit ¶ added in v0.6.0
func (r *Runner) CheckCommitsFromGit(ctx context.Context, scope string) (commit.AnalyzedCommits, error)
CheckCommitsFromGit checks all commits since the last release.
func (*Runner) CheckReadCommit ¶ added in v0.6.3
func (*Runner) CreateTags ¶
func (*Runner) LatestRelease ¶ added in v0.6.2
Click to show internal directories.
Click to hide internal directories.