Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLatestVersionTag ¶ added in v0.0.87
GetLatestVersionTag returns the latest version tag in the directory that has versionPrefix as prefix The basic name (part after stripping versionPrefix) should not contain "/" If versionPrefix is "", then the returned tag should not be nested (no "/" in it)
func GetVersionTagAtHEAD ¶
GetVersionTagAtHEAD checks if there's a version tag at HEAD in the target directory tagPrefix is an optional prefix for the tag (e.g., "path/to/submodule/" for nested modules) If tagPrefix is empty, it will match tags like "v0.0.87" If tagPrefix is provided, it will match tags like "path/to/submodule/v0.0.87"
func ListTagsAtHEAD ¶
ListTagsAtHEAD returns all tags pointing at HEAD in the target directory
Types ¶
This section is empty.