Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NextVersionType ¶
type NextVersionType int
const ( NextVersionTypeUndefined NextVersionType = iota NextVersionTypeNormal NextVersionTypeRC NextVersionTypeBeta NextVersionTypeAlpha )
func (NextVersionType) IsPrerelease ¶
func (n NextVersionType) IsPrerelease() bool
func (NextVersionType) String ¶
func (n NextVersionType) String() string
type Strategy ¶
type Strategy interface { NextVersion(git.Releases, VersionBump, NextVersionType) (string, error) IsPrerelease(version string) bool }
var SemVer Strategy = semVer{}
type VersionBump ¶
type VersionBump conventionalcommits.VersionBump
const ( UnknownVersion VersionBump = iota PatchVersion MinorVersion MajorVersion )
func BumpFromCommits ¶
func BumpFromCommits(commits []commitparser.AnalyzedCommit) VersionBump
Click to show internal directories.
Click to hide internal directories.