Documentation
¶
Overview ¶
Git with applied semantic versioning and conventional commits to it
Index ¶
- Constants
- func IsBreakingChangeCommit(record conventionalcommits.ConventionalCommit) bool
- type SemanticGit
- func (g *SemanticGit) CalculateNextVersion(vers *semvertype.SemVer) *semvertype.SemVer
- func (g *SemanticGit) GetChangelogByTag(fromTag types.TagName, enable_warnings bool) []conventionalcommits.ConventionalCommit
- func (g *SemanticGit) GetCurrentVersion() *semvertype.SemVer
- func (g *SemanticGit) GetNextVersion(semver_options semvertype.OptionsSemVer) *semvertype.SemVer
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func IsBreakingChangeCommit ¶
func IsBreakingChangeCommit(record conventionalcommits.ConventionalCommit) bool
Types ¶
type SemanticGit ¶
type SemanticGit struct {
// contains filtered or unexported fields
}
func NewSemanticRepo ¶
func NewSemanticRepo(gitRepo *git.Repository) *SemanticGit
func (*SemanticGit) CalculateNextVersion ¶
func (g *SemanticGit) CalculateNextVersion(vers *semvertype.SemVer) *semvertype.SemVer
func (*SemanticGit) GetChangelogByTag ¶
func (g *SemanticGit) GetChangelogByTag(fromTag types.TagName, enable_warnings bool) []conventionalcommits.ConventionalCommit
func (*SemanticGit) GetCurrentVersion ¶
func (g *SemanticGit) GetCurrentVersion() *semvertype.SemVer
func (*SemanticGit) GetNextVersion ¶
func (g *SemanticGit) GetNextVersion(semver_options semvertype.OptionsSemVer) *semvertype.SemVer
Click to show internal directories.
Click to hide internal directories.