svu

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Current

func Current(opts ...option) (string, error)

func ForAllBranches

func ForAllBranches() option

func ForCurrentBranch

func ForCurrentBranch() option

func ForcePatchIncrement

func ForcePatchIncrement() option

func Major

func Major(opts ...option) (string, error)

func Minor

func Minor(opts ...option) (string, error)

func Next

func Next(opts ...option) (string, error)

func Patch

func Patch(opts ...option) (string, error)

func PreRelease

func PreRelease(opts ...option) (string, error)

func StripPrefix

func StripPrefix() option

func WithBuild

func WithBuild(build string) option

func WithDirectory

func WithDirectory(directory string) option

func WithForcePatchIncrement

func WithForcePatchIncrement(forcePatchIncrement bool) option

func WithPattern

func WithPattern(pattern string) option

func WithPreRelease

func WithPreRelease(preRelease string) option

func WithPrefix

func WithPrefix(prefix string) option

func WithStripPrefix

func WithStripPrefix(stripPrefix bool) option

func WithTagMode

func WithTagMode(tagMode TagMode) option

Types

type TagMode

type TagMode string
const (
	CurrentBranch TagMode = git.CurrentBranchTagMode
	AllBranches   TagMode = git.AllBranchesTagMode
)

Jump to

Keyboard shortcuts

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