Documentation
¶
Index ¶
- Variables
- func IncrementHint(repo *gogit.Repository, tagPrefixRaw string) (string, error)
- func SkipHintPresent(repo *gogit.Repository, tagPrefixRaw string) error
- func ValidateHEAD(repo *gogit.Repository, remoteName string, versionedBranches []string) error
- type IncrementHintFunc
- type PreReleaseFunc
- type PreReleaseOptions
- type SkipHintPresentFunc
- type ValidateHEADFunc
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
Click to show internal directories.
Click to hide internal directories.