composite

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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