internal

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PredefinedSections = map[string]SectionInfo{
	"features": {Title: "Features", Icon: "rocket", OpenByDefault: true, Position: 0},
	"bugs":     {Title: "Bug fixes", Icon: "bug", Position: 1},
	"chores":   {Title: "Chores and Improvements", Icon: "wrench", Position: 2},
	"breaking": {Title: "Breaking Changes", Icon: "warning", Position: 3},
	"others":   {Title: "Other", Icon: "package", Position: 4},
}

PredefinedSections contains a list of the predefined sections we consider when generating the release notes

View Source
var SortedSections = make([]SectionInfo, len(PredefinedSections))

SortedSections returns a slice of Sections sorted by position

Functions

This section is empty.

Types

type SectionInfo

type SectionInfo struct {
	ID    string
	Title string
	Icon  string
	// whether the section should not be collapsed by default
	OpenByDefault bool
	Position      int
}

SectionInfo contains the details that we store for each section

Directories

Path Synopsis
Package release holds the common Release struct shared across all other packages
Package release holds the common Release struct shared across all other packages
Package releaser is used for releasing to Github or Gitlab Releases.
Package releaser is used for releasing to Github or Gitlab Releases.

Jump to

Keyboard shortcuts

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