build time constants

This commit is contained in:
Anand Babu (AB) Periasamy
2015-10-26 02:36:01 -07:00
parent 07839caf9b
commit 588833d06f
6 changed files with 137 additions and 97 deletions

View File

@@ -20,7 +20,7 @@ import "github.com/minio/cli"
var versionCmd = cli.Command{
Name: "version",
Usage: "Print version",
Usage: "Print version.",
Action: mainVersion,
CustomHelpTemplate: `NAME:
minio {{.Name}} - {{.Usage}}
@@ -33,4 +33,5 @@ USAGE:
func mainVersion(ctxx *cli.Context) {
Println("Version: " + minioVersion)
Println("Release-Tag: " + minioReleaseTag)
Println("Commit-ID: " + minioCommitID)
}