changelog

package
v0.0.0-...-6ce207b Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateChangelog

func GenerateChangelog(ctx context.Context, repository string, cfg Config) (string, error)

GenerateChangelog generates a changelog from the git repository.

Types

type Commit

type Commit struct {
	Message   string
	Hash      string
	Variables map[string]string
}

type Config

type Config struct {
	Enabled   bool              `yaml:"enabled"`
	Pattern   string            `yaml:"pattern,omitempty"`
	Template  string            `yaml:"template,omitempty"`
	Variables map[string]string `yaml:"variables,omitempty"`
	AiEnabled bool              `yaml:"ai_enabled,omitempty"`
	VCSURL    string            `yaml:"-"`
}

Jump to

Keyboard shortcuts

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