composite

package
v1.0.0-src.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 10 Imported by: 0

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 (h *Handler) NextVersion() *semver.Version

func (*Handler) PullRequest

func (h *Handler) PullRequest() error

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)

func (*Handler) Wrapper

func (h *Handler) Wrapper(f func() error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL