versioning

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion() string

GetVersion returns the default formatted version string attached to the current bazel build

func Query

func Query(request VersionInfo) (string, error)

Query returns git versioning info attached to the current bazel build

Types

type VersionInfo

type VersionInfo int

VersionInfo ...

const (
	StableBuildGitCommit VersionInfo = iota
	StableBuildScmStatus
	StableBuildScmRevision
	StableBuildMajorVersion
	StableBuildMinorVersion
	StableDockerTag
)

Jump to

Keyboard shortcuts

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