versioner

package
v1.8.81 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NextVersion

func NextVersion(inputVersion string, inputVersionType string) (string, error)

func ParsePreRelease

func ParsePreRelease(inputVersion, suffixType string) (string, int64)

Types

type VersionType

type VersionType string
const (
	VersionTypeNone    VersionType = "none"
	VersionTypeMajor   VersionType = "major"
	VersionTypeMinor   VersionType = "minor"
	VersionTypePatch   VersionType = "patch"
	VersionTypeRC      VersionType = "rc"
	VersionTypeRelease VersionType = "release"
	VersionTypeAlpha   VersionType = "alpha"
	VersionTypeBeta    VersionType = "beta"
)

Jump to

Keyboard shortcuts

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