internal

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Name    string
	Version string
)

Functions

This section is empty.

Types

type App

type App struct {
	// contains filtered or unexported fields
}

App is a main application's structure.

func NewApp

func NewApp(cfgPath, repoPath string) (*App, error)

NewApp returns new instance of application.

func (*App) Change

func (a *App) Change() error

Change displays resolved from current branch change type.

func (*App) Changelog

func (a *App) Changelog() error

func (*App) Commit

func (a *App) Commit(msgFile string) (err error)

Commit displays configured in configuration file prompt with values to fill commit message template. If msgFile argument is non-empty, generated text is written directly into the file.

func (*App) Commits

func (a *App) Commits() error

func (*App) LatestTag

func (a *App) LatestTag() error

func (*App) Next

func (a *App) Next(pre string) error

Next is the next version based on configuration and current branch commit messages.

func (*App) Tag

func (a *App) Tag(pre string) error

Tag creates new version tag on last commit.

func (*App) Verify

func (a *App) Verify() error

Verify iterates over current branch commits up to latest tagged and validates their message format and template matching.

func (*App) Version

func (a *App) Version() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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