next

package
v3.0.0-alpha.40 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commit

type Commit struct {
	Sha   string          `json:"sha"`
	Pulls []internal.Pull `json:"pulls,omitempty"`
}

type Options

type Options struct {
	GithubClient internal.GithubClient
	Repo         string
	PrevVersion  string
	Base         string
	Head         string
	MinBump      *internal.ChangeLevel
	MaxBump      *internal.ChangeLevel
	CheckPR      int
	LabelAliases map[string]string
}

type Result

type Result struct {
	NextVersion     semver.Version       `json:"next_version"`
	PreviousVersion semver.Version       `json:"previous_version"`
	ChangeLevel     internal.ChangeLevel `json:"change_level"`
}

func GetNext

func GetNext(ctx context.Context, opts *Options) (*Result, error)

Jump to

Keyboard shortcuts

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