Documentation
¶
Index ¶
- func Current(opts ...option) (string, error)
- func ForAllBranches() option
- func ForCurrentBranch() option
- func ForcePatchIncrement() option
- func Major(opts ...option) (string, error)
- func Minor(opts ...option) (string, error)
- func Next(opts ...option) (string, error)
- func Patch(opts ...option) (string, error)
- func PreRelease(opts ...option) (string, error)
- func StripPrefix() option
- func WithBuild(build string) option
- func WithDirectory(directory string) option
- func WithForcePatchIncrement(forcePatchIncrement bool) option
- func WithPattern(pattern string) option
- func WithPreRelease(preRelease string) option
- func WithPrefix(prefix string) option
- func WithStripPrefix(stripPrefix bool) option
- func WithTagMode(tagMode TagMode) option
- type TagMode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ForAllBranches ¶
func ForAllBranches() option
func ForCurrentBranch ¶
func ForCurrentBranch() option
func ForcePatchIncrement ¶
func ForcePatchIncrement() option
func PreRelease ¶
func StripPrefix ¶
func StripPrefix() option
func WithDirectory ¶
func WithDirectory(directory string) option
func WithForcePatchIncrement ¶
func WithForcePatchIncrement(forcePatchIncrement bool) option
func WithPattern ¶
func WithPattern(pattern string) option
func WithPreRelease ¶
func WithPreRelease(preRelease string) option
func WithPrefix ¶
func WithPrefix(prefix string) option
func WithStripPrefix ¶
func WithStripPrefix(stripPrefix bool) option
func WithTagMode ¶
func WithTagMode(tagMode TagMode) option
Types ¶
type TagMode ¶
type TagMode string
const ( CurrentBranch TagMode = git.CurrentBranchTagMode AllBranches TagMode = git.AllBranchesTagMode )
Click to show internal directories.
Click to hide internal directories.