Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler struct {
*github.Client
Owner string
Name string
Head string
Base string
PrereleaseIdentifier string
ReleaseBranch string
Latest *github.Version
LatestPrerelease *github.Version
CommitFiles []string
Trigger string
// contains filtered or unexported fields
}
func (*Handler) Commits ¶
func (h *Handler) Commits() (commits *conventional.Commits)
func (*Handler) NextVersion ¶
func (*Handler) PullRequest ¶
PullRequest creates a release--branch--{branchName} pull request for branchName PR Details: - title: "release({branchName}): {nextVersion}" - base: {branchName} - head: release--branch--{branchName} - body:
- if prerelease: ":robot: I have created a release candidate *beep* *boop*"
- else: ":robot: I have created a release *beep* *boop*"
func (*Handler) VersionInfo ¶
func (h *Handler) VersionInfo() (info conventional.VersionInfo)
Click to show internal directories.
Click to hide internal directories.