Skip to content

Commit d545155

Browse files
fix: version string --version output
1 parent b64ced1 commit d545155

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

cmd/hperf/main.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,7 @@ import (
3333
"github.com/minio/hperf/shared"
3434
)
3535

36-
const (
37-
VERSION = "4.0.8"
38-
)
36+
var version = "0.0.0-dev"
3937

4038
// Help template for mc
4139
var mcHelpTemplate = `NAME:
@@ -189,7 +187,7 @@ func CreateApp() *cli.App {
189187
app.Commands = Commands
190188
app.Author = "MinIO, Inc."
191189
app.Copyright = "(c) 2021-2024 MinIO, Inc."
192-
app.Version = VERSION
190+
app.Version = version
193191
app.Flags = baseFlags
194192
app.CustomAppHelpTemplate = mcHelpTemplate
195193
app.EnableBashCompletion = false

0 commit comments

Comments
 (0)