workflow

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultPolishPrompt = `` /* 310-byte string literal not displayed */

DefaultPolishPrompt is the default prompt for polishing changelogs

Variables

This section is empty.

Functions

func GenerateReleaseNotes

func GenerateReleaseNotes(ctx context.Context, opts GenerateOptions, provider ai.Provider, cfg *config.Config) (string, error)

GenerateReleaseNotes orchestrates the full release notes generation process

func PolishChangelog added in v0.7.5

func PolishChangelog(ctx context.Context, draftChangelog string, cfg *config.Config) (string, error)

PolishChangelog takes a draft changelog and polishes it using a second AI model

Types

type GenerateOptions

type GenerateOptions struct {
	Version      string
	SinceTag     string
	Output       string
	UseAI        bool
	AIPromptOnly bool
	Verbose      bool
	ExcludeFiles []string // Files to exclude from AI context (e.g., CHANGELOG.md)
}

GenerateOptions contains options for release notes generation

Jump to

Keyboard shortcuts

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