githelper

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2023 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Enable bool `env:"GITHELPER_ENABLE" default:"false" yaml:"enable" json:"enable"`
}

type Plugin

type Plugin struct {
	Logger *log.Entry
	// contains filtered or unexported fields
}

func New

func New() *Plugin

func (*Plugin) Boot

func (p *Plugin) Boot(conf interface{}, dependencies ...interface{}) plugins.Plugin

func (*Plugin) Close

func (p *Plugin) Close() error

func (*Plugin) GitCommitMessage

func (p *Plugin) GitCommitMessage() string

func (*Plugin) GitTag

func (p *Plugin) GitTag(annotation string, msg string) error

func (*Plugin) IsEnabled

func (p *Plugin) IsEnabled() bool

func (*Plugin) Name

func (p *Plugin) Name() string

func (*Plugin) NextVersion

func (p *Plugin) NextVersion(v string, next Semver) (*semver.Version, error)

func (*Plugin) SemVer

func (p *Plugin) SemVer(msg string) Semver

func (*Plugin) Start

func (p *Plugin) Start() error

func (*Plugin) TagVersion

func (p *Plugin) TagVersion() (*semver.Version, error)

type Semver

type Semver int
const (
	Name        = "githelper"
	None Semver = iota
	Major
	Minor
	Patch
)

Jump to

Keyboard shortcuts

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