Documentation
¶
Index ¶
- func AddTag(path string, tag *Tag, msg []string) error
- func AddTagStr(path string, tagStr string) error
- func DeleteTag(path string, tag *Tag) error
- func DeleteTagRemote(path string, tag *Tag, remote string) error
- func PushTag(path string, tag *Tag, remote string) error
- func Shortlog(path string, rev1, rev2 string) (string, error)
- type Tag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteTagRemote ¶
Delete from remote tag.
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.