Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSemanticReleaseCommand ¶
CreateSemanticReleaseCommand creates the root Semantic Release command
Types ¶
type Change ¶
type Change struct { Commit git.Commit Major bool Minor bool ParsedMessage ParsedCommitMessage }
Change represents a change that will go out
func CalculateChange ¶
CalculateChange calculates a changed out of a commit
type ParsedCommitMessage ¶
ParsedCommitMessage represents a commit message that was parsed from a message in the format followed by the Semantic Release format. This format was adopted from the Angular.js community and you can read more here: https://github.com/angular/angular.js/blob/master/DEVELOPERS.md#-git-commit-guidelines
func ParseCommitMessage ¶
func ParseCommitMessage(commitMessage string) *ParsedCommitMessage
ParseCommitMessage parses a commit message
type Release ¶
Release represents a group of changes that will be released
func CalculateNextRelease ¶
CalculateNextRelease will calculate what will go out in the next release, and if it is a major, minor or patch change.
func (Release) ChangeLog ¶
ChangeLog returns a string representing the change log for the release, in markdown format
func (Release) ChangesByType ¶
ChangesByType group the changes for the release by their type