nextversion

package
v0.0.0-...-4604cca Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2026 License: EUPL-1.2 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrRepositoryRequired = errors.New("repository is required")
	ErrRevIsAlreadyTagged = errors.New("selected revision already has a tag")
)

Functions

This section is empty.

Types

type NextVersion

type NextVersion struct {
	Logger     *slog.Logger
	Repository *git.Repository
	Revision   plumbing.Revision
	Prerelease string
	Metadata   string
	Writer     io.Writer
	VSuffix    bool
}

func (*NextVersion) Run

func (nv *NextVersion) Run(ctx context.Context) error

func (*NextVersion) Validate

func (nv *NextVersion) Validate() error

Jump to

Keyboard shortcuts

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