Documentation ¶
Overview ¶
Package parser provides functions to parse a Git repository commit history.
This package is used to compute the semantic version number from a formatted Git repository commit history. To do so, it expects the commit history to follow the Conventional Commits specification.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Parser ¶
type Parser struct {
// contains filtered or unexported fields
}
func (*Parser) ComputeNewSemver ¶
ComputeNewSemver returns the next, if any, semantic version number from a given Git repository by parsing its commit history.
Click to show internal directories.
Click to hide internal directories.