Documentation ¶ Index ¶ func CreateAndPushTag(tag string) error type BumpType func (b BumpType) String() string type Version func Bump(v Version, bump BumpType) Version func FetchLatestTag() (Version, error) func ParseVersion(tag string) (Version, error) func (v Version) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func CreateAndPushTag ¶ func CreateAndPushTag(tag string) error Types ¶ type BumpType ¶ type BumpType int const ( BumpMajor BumpType = iota BumpMinor BumpPatch ) func (BumpType) String ¶ func (b BumpType) String() string type Version ¶ type Version struct { Major int Minor int Patch int } func Bump ¶ func Bump(v Version, bump BumpType) Version func FetchLatestTag ¶ func FetchLatestTag() (Version, error) func ParseVersion ¶ func ParseVersion(tag string) (Version, error) func (Version) String ¶ func (v Version) String() string Source Files ¶ View all Source files release.go Click to show internal directories. Click to hide internal directories.