Fix version to be release-tag (#8730)

This commit is contained in:
Harshavardhana 2020-01-02 06:48:32 -08:00 committed by Nitish Tiwari
parent 157721f694
commit cb935980a5

View file

@ -74,8 +74,8 @@ FLAGS:
{{range .VisibleFlags}}{{.}}
{{end}}{{end}}
VERSION:
` + Version +
`{{ "\n"}}`
{{.Version}}
`
func newApp(name string) *cli.App {
// Collection of minio commands currently supported are.
@ -126,7 +126,7 @@ func newApp(name string) *cli.App {
app := cli.NewApp()
app.Name = name
app.Author = "MinIO, Inc."
app.Version = Version
app.Version = ReleaseTag
app.Usage = "High Performance Object Storage"
app.Description = `Build high performance data infrastructure for machine learning, analytics and application data workloads with MinIO`
app.Flags = GlobalFlags