config

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2021 License: MIT Imports: 3 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 struct {
	File   string `yaml:"file"`
	Regex  string `yaml:"regex"`
	Count  int    `yaml:"count"`
	SemVer bool   `yaml:"semver"`
}

Bump defines configuration for bumping indvidual files based on the new calculated semantic version number

type Uplift

type Uplift struct {
	FirstVersion string `yaml:"firstVersion"`
	Bumps        []Bump `yaml:"bumps"`
}

Uplift defines the root configuration of the application

func Load

func Load(f string) (Uplift, error)

Load the YAML config file

Jump to

Keyboard shortcuts

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