Documentation
¶
Index ¶
- func CreateLocalTag(ctx context.Context, newVersionTag string) error
- func GetCurrentVersionTag(ctx context.Context) (string, error)
- func NewSemverModel(currentVersion string) semverModel
- func RunSemVerTUI(ctx context.Context, currentVersion string) (string, error)
- func SuggestNextVersion(ctx context.Context, currentVersion, commitMsg string, client *gogpt.Client) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateLocalTag ¶ added in v0.2.0
func GetCurrentVersionTag ¶
GetCurrentVersionTag retrieves the most recent Git tag that matches semantic versioning using go-git.
func NewSemverModel ¶ added in v0.2.0
func NewSemverModel(currentVersion string) semverModel
NewSemverModel calculates the next possible versions for major/minor/patch and populates the model.
func RunSemVerTUI ¶ added in v0.2.0
RunSemVerTUI is a helper to run the TUI program and return the chosen version or empty if canceled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.