Documentation
¶
Overview ¶
Package git implements tags interface with git in order to interact with tags and make commits.
Index ¶
- Variables
- func Add() error
- func Branch() (string, error)
- func Commit(message string) (string, error)
- func CreateTag(tag, message string) (string, error)
- func IsDirty() (bool, error)
- func IsRepo() bool
- func LatestTag() (string, error)
- func ListTags(limit int) (tags string, limitHit bool, err error)
- func Push() (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrNoTagsFound = errors.New("no tags found") // ErrNoTagsFound is the signal that the current repo has no tags
)
Functions ¶
func CreateTag ¶
CreateTag creates an annotated git tag with an optional message if the message is an empty string, the tag name will be used.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.