Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryVersion ¶ added in v0.0.4
BinaryVersion returns the default formatted version string for a binary
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 )
Click to show internal directories.
Click to hide internal directories.