version

package
Version: v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bump

type Bump interface {
	Apply(semver.Version) semver.Version
}

func BumpFromParams

func BumpFromParams(bumpStr string, preStr string, preWithoutVersion bool) Bump

type FinalBump

type FinalBump struct{}

func (FinalBump) Apply

type IdentityBump

type IdentityBump struct{}

func (IdentityBump) Apply

type MajorBump

type MajorBump struct{}

func (MajorBump) Apply

type MinorBump

type MinorBump struct{}

func (MinorBump) Apply

type MultiBump

type MultiBump []Bump

func (MultiBump) Apply

func (bumps MultiBump) Apply(v semver.Version) semver.Version

type PatchBump

type PatchBump struct{}

func (PatchBump) Apply

type PreBump

type PreBump struct {
	Pre               string
	PreWithoutVersion bool
}

func (PreBump) Apply

func (bump PreBump) Apply(v semver.Version) semver.Version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL