semanticgit

package
v2.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 16, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Overview

Git with applied semantic versioning and conventional commits to it

Index

Constants

View Source
const FooterTokenBreakingChange conventionalcommitstype.FooterToken = "BREAKING CHANGE"

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

Directories

Path Synopsis
git
Like git module.
Like git module.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL