Documentation ¶
Index ¶
- func BuildGit(args []string, getTagsFunc func() ([]string, error)) (version string, err error)
- func BuildInplace(args []string, _ func() ([]string, error)) (version string, err error)
- func BumpMinor(minor string) (string, error)
- func FilterTags(condition string, tags []string, filter func(string, string) bool) (res []string)
- func GenRC(current, desired string) (result string, err error)
- func GenReleaseCandidate(args []string) (version string, err error)
- func GetAllTags() (tags []string, err error)
- func GetBuilderVersion(tags []string, version string) (result string)
- func GetHighestPatch(tags []string, transform ...func(string) string) int
- func GetNextChartVersion(current, next string) (ver string, err error)
- func GitDescribe(arguments ...string) (version string, err error)
- func PatchVersion(args, tags []string) (version string, err error)
- type BuildFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildInplace ¶
func FilterTags ¶
FilterTags filter a tag list based on a condition and a filter function
func GenReleaseCandidate ¶
func GetAllTags ¶
GetAllTags list all tags in the current directory
func GetBuilderVersion ¶
func GetHighestPatch ¶
GetHighestPatch return the highest patch number from all tags
func GetNextChartVersion ¶
func GitDescribe ¶ added in v0.1.2
GitDescribe describe a git using given arguments
func PatchVersion ¶
PatchVersion patch a version
Types ¶
Click to show internal directories.
Click to hide internal directories.