aboutsummaryrefslogtreecommitdiff
path: root/weed/command/version.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-06-02 00:10:35 -0700
committerChris Lu <chris.lu@gmail.com>2020-06-02 00:10:38 -0700
commitbc2ec6774d10349143dec326f227a2a809c01731 (patch)
tree8edf08a3a269e8184ea45de532e5cccf6adc724c /weed/command/version.go
parentea93d21641ca96cde2b71031a33f390a549090a6 (diff)
downloadseaweedfs-bc2ec6774d10349143dec326f227a2a809c01731.tar.xz
seaweedfs-bc2ec6774d10349143dec326f227a2a809c01731.zip
inject git version into build
Diffstat (limited to 'weed/command/version.go')
-rw-r--r--weed/command/version.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/version.go b/weed/command/version.go
index 8fdd68ec8..9caf7dc4e 100644
--- a/weed/command/version.go
+++ b/weed/command/version.go
@@ -19,6 +19,6 @@ func runVersion(cmd *Command, args []string) bool {
cmd.Usage()
}
- fmt.Printf("version %s %s %s\n", util.VERSION, runtime.GOOS, runtime.GOARCH)
+ fmt.Printf("version %s %s %s\n", util.Version(), runtime.GOOS, runtime.GOARCH)
return true
}