From cb935980a5deee113f890ef06b639e57c9b44812 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Thu, 2 Jan 2020 06:48:32 -0800 Subject: [PATCH] Fix version to be release-tag (#8730) --- cmd/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/main.go b/cmd/main.go index 11a91cc8e..8ffe7a014 100644 --- a/cmd/main.go +++ b/cmd/main.go @@ -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