semrel

package
v0.0.0-...-cf76350 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetNewVersion

func GetNewVersion(conf *config.Config, commits []*Commit, latestRelease *Release) string

Types

type Change

type Change struct {
	Major       bool
	Minor       bool
	Patch       bool
	Annotations map[string]string
}

type Commit

type Commit struct {
	SHA         string
	Raw         []string
	Type        string
	Scope       string
	Message     string
	Change      *Change
	Annotations map[string]string
}

type RawCommit

type RawCommit struct {
	SHA         string
	RawMessage  string
	Annotations map[string]string
}

type Release

type Release struct {
	SHA         string
	Version     string
	Annotations map[string]string
}

func GetLatestReleaseFromReleases

func GetLatestReleaseFromReleases(rawReleases []*Release, vrange string) (*Release, error)

Jump to

Keyboard shortcuts

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