bump

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ctx context.Context, opts ...Option) renovate.Renovator

New returns a renovator which performs a version bump.

Types

type BumpConfig

type BumpConfig struct {
	TargetVersion  string
	ExpectedCommit string
}

BumpConfig contains the configuration data for a bump renovator.

type Option

type Option func(cfg *BumpConfig) error

Option sets a config option on a BumpConfig.

func WithExpectedCommit added in v0.4.0

func WithExpectedCommit(expectedCommit string) Option

WithExpectedCommit sets the desired target expected commit for the bump renovator.

func WithTargetVersion

func WithTargetVersion(targetVersion string) Option

WithTargetVersion sets the desired target version for the bump renovator.

Jump to

Keyboard shortcuts

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