gitvv

package
v0.2.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetVersion

func GetVersion(format, dir string) string

GetVersion gets formatted git version It assumes tags are by semver standards format: %M, _M - major version %m, _m - minor version %P, _P - patch version %C, _C - commit count since last tag %S, _S - HEAD sha1 %B - hybrid patch number [semver_minor_version*100 + commit_count]

Types

This section is empty.

Jump to

Keyboard shortcuts

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