func Version() string {
	if version, ok := fromContext(); ok {
		return version
	}
	version, err := sh.Output("git", "describe",
		"--always", "--tags", "--dirty")
	ensure.NoError(err)
	saveInContext(version)
	return version
}
// Version returns a git version string.
Version returns a git version string.
// Version returns a git version string .
func Version() string {
	if version, ok := fromContext(); ok {
		return version
	}
	version, err := sh.Output("git", "describe",
		"--always", "--tags", "--dirty")
	ensure.NoError(err)
	saveInContext(version)
	return version
}
func Version ( ) string { if version , ok := fromContext ( ) ; ok { return version } version , err := sh . Output ( " " , " " , " " , " " , " " ) ensure . NoError ( err ) saveInContext ( version ) return version }
Version returns a git version string.
Version returns a git version string .