release

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoIncrement = errors.New("increment hint not present")
	ErrSkipRelease = errors.New("skip release hint present")
)

Functions

func IncrementHint

func IncrementHint(repo *gogit.Repository, tagPrefixRaw string) (string, error)

func SkipHintPresent

func SkipHintPresent(repo *gogit.Repository, tagPrefixRaw string) error

func ValidateHEAD

func ValidateHEAD(repo *gogit.Repository, remoteName string, versionedBranches []string) error

Types

type IncrementHintFunc

type IncrementHintFunc func(repo *gogit.Repository, tagPrefixRaw string) (string, error)

type PreReleaseFunc

type PreReleaseFunc func(version *semver.Version) (semver.Version, error)

func PreRelease

func PreRelease(repo *gogit.Repository, options PreReleaseOptions) PreReleaseFunc

type PreReleaseOptions

type PreReleaseOptions struct {
	WithMetadata bool
}

type SkipHintPresentFunc

type SkipHintPresentFunc func(repo *gogit.Repository, tagPrefixRaw string) error

type ValidateHEADFunc

type ValidateHEADFunc func(repo *gogit.Repository, remoteName string, versionedBranches []string) error

Jump to

Keyboard shortcuts

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