chglogcmd

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyReleaseMetaToUnreleased added in v0.0.12

func ApplyReleaseMetaToUnreleased(path string, meta ReleaseMeta) (bool, error)

ApplyReleaseMetaToUnreleased fills meta sections when they are still placeholder text.

func NewCommand

func NewCommand() *redant.Command

NewCommand creates the changelog command group.

func ValidateBumpConsistency added in v0.0.12

func ValidateBumpConsistency(sections map[string]string, bump string) error

ValidateBumpConsistency checks whether --bump matches Unreleased section content.

func ValidateReleaseReadiness added in v0.0.12

func ValidateReleaseReadiness(content string) error

ValidateReleaseReadiness checks Unreleased content before release.

Types

type ReleaseMeta added in v0.0.12

type ReleaseMeta struct {
	Impact     string
	Validation string
	Rollback   string
}

ReleaseMeta holds rule-based release note hints derived from a diff.

func DeriveReleaseMeta added in v0.0.12

func DeriveReleaseMeta(diffNames string) ReleaseMeta

DeriveReleaseMeta builds heuristic impact/validation/rollback notes from changed paths.

Jump to

Keyboard shortcuts

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