versioner

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLocalTag added in v0.2.0

func CreateLocalTag(ctx context.Context, newVersionTag string) error

CreateLocalTag creates a new Git tag with the provided version.

func GetCurrentVersionTag

func GetCurrentVersionTag(ctx context.Context) (string, error)

GetCurrentVersionTag retrieves the latest semantic version tag.

func NewSemverModel added in v0.2.0

func NewSemverModel(currentVersion string) semverModel

func PerformSemanticRelease added in v0.3.0

func PerformSemanticRelease(ctx context.Context, client ai.AIClient, commitMsg string, manual bool) error

PerformSemanticRelease performs the semantic version bump process.

func RunSemVerTUI added in v0.2.0

func RunSemVerTUI(ctx context.Context, currentVersion string) (string, error)

RunSemVerTUI launches the semantic version TUI and returns the selected version.

func SuggestNextVersion

func SuggestNextVersion(ctx context.Context, currentVersion, commitMsg string, client ai.AIClient) (string, error)

SuggestNextVersion uses AI to suggest the next semantic version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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