shared

package
v1.10.3 Latest Latest
Warning

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

Go to latest
Published: May 6, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyzedCommit

type AnalyzedCommit struct {
	Commit                      Commit                    `yaml:"commit"`
	ParsedMessage               string                    `yaml:"parsedMessage"`
	ParsedBreakingChangeMessage string                    `yaml:"parsedBreakingChangeMessage"`
	Tag                         string                    `yaml:"tag"`
	TagString                   string                    `yaml:"tagString"`
	Scope                       Scope                     `yaml:"scope"`
	Subject                     string                    `yaml:"subject"`
	MessageBlocks               map[string][]MessageBlock `yaml:"messageBlocks"`
	IsBreaking                  bool                      `yaml:"isBreaking"`
	Print                       bool                      `yaml:"print"`
}

AnalyzedCommit struct

type ChangelogTemplateConfig

type ChangelogTemplateConfig struct {
	CommitURL  string
	CompareURL string
	Hash       string
	Version    string
}

ChangelogTemplateConfig struct

type Commit

type Commit struct {
	Message string `yaml:"message"`
	Author  string `yaml:"author"`
	Hash    string `yaml:"hash"`
}

Commit struct

type GeneratedChangelog

type GeneratedChangelog struct {
	Title   string
	Content string
}

GeneratedChangelog struct

type MessageBlock added in v1.9.0

type MessageBlock struct {
	Label   string `yaml:"label"`
	Content string `yaml:"content"`
}

MessageBlock represents a block in the body section of a commit message

type Release

type Release string

Release types, like major

type ReleaseVersion

type ReleaseVersion struct {
	Last    ReleaseVersionEntry          `yaml:"last"`
	Next    ReleaseVersionEntry          `yaml:"next"`
	Branch  string                       `yaml:"branch"`
	Commits map[Release][]AnalyzedCommit `yaml:"commits"`
}

ReleaseVersion struct

type ReleaseVersionEntry

type ReleaseVersionEntry struct {
	Commit        string          `yaml:"commit"`
	VersionString string          `yaml:"version"`
	Version       *semver.Version `yaml:"-"`
}

ReleaseVersionEntry struct

type Scope

type Scope string

Scope of the commit, like feat, fix,..

Jump to

Keyboard shortcuts

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