Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Calculator ¶
type Calculator struct{}
Calculator struct
func (*Calculator) CalculateNewVersion ¶
func (c *Calculator) CalculateNewVersion(commits map[shared.Release][]shared.AnalyzedCommit, lastVersion *semver.Version, releaseType string, firstRelease bool) semver.Version
CalculateNewVersion from given commits and lastversion
func (*Calculator) IncPrerelease ¶
func (c *Calculator) IncPrerelease(preReleaseType string, version semver.Version) (semver.Version, error)
IncPrerelease increase prerelease by one
Click to show internal directories.
Click to hide internal directories.