utils

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GIT = "git"
)

Variables

This section is empty.

Functions

func Current

func Current() string

Get current latest tag from repository

func IncMajor

func IncMajor() semver.Version

Increase major version

func IncMinor

func IncMinor() semver.Version

Increase minor version

func IncPatch

func IncPatch() semver.Version

Increase patch version

func LatestTags

func LatestTags() string

Return all tgs for a repository

func Logs

func Logs() []string

Return git log messages

func Next

func Next() semver.Version

Get next tag to be created according to repository

func Run

func Run(args ...string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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