Documentation
¶
Overview ¶
Package release orchestrates the release process by coordinating commit parsing, version calculation, changelog generation, and VCS provider interactions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrChangelogEntryNotFound = errors.New("changelog entry not found")
View Source
var ErrConflictingFileUpdate = errors.New("conflicting file update")
View Source
var ErrConflictingReleaseAs = errors.New("conflicting release-as footers")
View Source
var ErrInvalidReleaseAs = errors.New("invalid release-as footer")
View Source
var ErrInvalidReleaseManifest = errors.New("invalid release manifest")
View Source
var ErrMultiplePendingReleasePRs = errors.New("multiple pending release PRs found")
View Source
var ErrUnknownTarget = errors.New("unknown target")
Functions ¶
This section is empty.
Types ¶
type Releaser ¶
type Releaser struct {
// contains filtered or unexported fields
}
func (*Releaser) Release ¶
Release performs the full release flow: analyze commits, calculate version, generate changelog, create PR.
type Result ¶
type Result struct {
BaseBranch string
Plans []TargetPlan
PullRequest *provider.PullRequest
Releases []*provider.Release
}
type TargetPlan ¶ added in v0.4.0
type TargetPlan struct {
ID string
Type string
Path string
CurrentVersion string
NextVersion string
NextTag string
BumpType commit.BumpType
CommitCount int
Changelog string
PRChangelog string
PRCompareRef string
Files map[string]string
IncludedTargets []string
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.