Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StripModuleTagPrefixes ¶ added in v0.0.3
stripModuleTagPrefixes returns the last component of a path. This is used to resolve the tag format used in pulumi repos of "module/versionComponents" to a simple versionComponents.
Types ¶
type LanguageVersions ¶
LanguageVersions contains a generic semantic version and Python-specific version number.
func GetLanguageVersions ¶
func GetLanguageVersions(workingDirPath string, commitish plumbing.Revision, omitCommitHash bool, releasePrefix string, isPrerelease bool) (*LanguageVersions, error)
GetLanguageVersions calculates the generic and Python-specific version numbers for the given `commitish` based on the most recent tag, the status of the work tree with respect to dirty files, and a timestamp.
Click to show internal directories.
Click to hide internal directories.