Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Path string = ""
Where to execute the git/bump commands
Functions ¶
Types ¶
type Tag ¶
type Tag struct { Prefix string `json:"prefix,omitempty"` Major int `json:"major"` Minor int `json:"minor"` Patch int `json:"patch"` }
func CurrentTag ¶
func ParseTagString ¶
Parse tagStr to a valid semver tag.
func (*Tag) IncrementMajor ¶
func (t *Tag) IncrementMajor()
func (*Tag) IncrementMinor ¶
func (t *Tag) IncrementMinor()
func (*Tag) IncrementPatch ¶
func (t *Tag) IncrementPatch()
Click to show internal directories.
Click to hide internal directories.