types

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Incrementation added in v0.2.2

type Incrementation string
const (
	Major Incrementation = "major"
	Minor Incrementation = "minor"
	Patch Incrementation = "patch"
)

type IncrementingFunction added in v0.2.2

type IncrementingFunction func(version *semver.Version) semver.Version

type Repo

type Repo struct {
	Repository    *git.Repository
	GraphQlClient *githubv4.Client
}

func InitializeRepo

func InitializeRepo(dir string, errHandler func(msg interface{})) *Repo

func (*Repo) CreateReleaseBranch

func (r *Repo) CreateReleaseBranch(inc Incrementation) error

func (Repo) FetchLatestTag added in v0.2.2

func (r Repo) FetchLatestTag() (*semver.Version, error)

func (Repo) IncrementVersion added in v0.2.2

func (r Repo) IncrementVersion(inc Incrementation) (semver.Version, error)

Jump to

Keyboard shortcuts

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