release

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssertReleasesUniqueAndMonotonic

func AssertReleasesUniqueAndMonotonic(releases []Release) error

Checks that a sequence of releases are monotonically decreasing with each version being a simple major, minor, or patch bump of its successor in the slice

func Changelog

func Changelog() string

func Major

func Major() uint8

func Minor

func Minor() uint8

func Notes

func Notes() string

func ParseVersion

func ParseVersion(ver string) (uint8, uint8, uint8, error)

func Patch

func Patch() uint8

func Version

func Version() string

Types

type Release

type Release struct {
	Version string
	Notes   string
}

Jump to

Keyboard shortcuts

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