bump

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FileBump

type FileBump struct {
	Path    string
	Regex   string
	Version string
	Count   int
	SemVer  bool
}

FileBump defines how a version within a file will be matched through a regex and bumped using the provided version

type Task

type Task struct{}

Task for bumping versions within files

func (Task) Run

func (t Task) Run(ctx *context.Context) error

Run the task bumping the semantic version of any file identified within the uplift configuration file

func (Task) Skip added in v1.1.0

func (t Task) Skip(ctx *context.Context) bool

Skip running the task if no version has changed

func (Task) String

func (t Task) String() string

String generates a string representation of the task

Jump to

Keyboard shortcuts

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