bump

package
v0.0.0-...-eefa5ad Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyVersionToFiles

func ApplyVersionToFiles(files []string, newVersion *Version, configuration *config.Configuration) error

Types

type Version

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

func NewVersion

func NewVersion(parts []VersionPart, parseTemplate *regexp.Regexp, serializeTemplate []string) *Version

func (Version) ApplyFileConfiguration

func (v Version) ApplyFileConfiguration(fileName string, configuration *config.Configuration) Version

func (*Version) Bump

func (v *Version) Bump(part string) error

func (Version) Serialize

func (v Version) Serialize() ([]byte, error)

type VersionPart

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

func NewVersionPart

func NewVersionPart(name, value string, customPart config.ReleasePart) *VersionPart

Jump to

Keyboard shortcuts

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