aboutsummaryrefslogtreecommitdiff
path: root/weed/util/constants.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/util/constants.go')
-rw-r--r--weed/util/constants.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/weed/util/constants.go b/weed/util/constants.go
index 0916850ef..c595f0c53 100644
--- a/weed/util/constants.go
+++ b/weed/util/constants.go
@@ -5,5 +5,10 @@ import (
)
var (
- VERSION = fmt.Sprintf("%s %d.%d", sizeLimit, 1, 47)
+ VERSION = fmt.Sprintf("%s %d.%02d", sizeLimit, 2, 41)
+ COMMIT = ""
)
+
+func Version() string {
+ return VERSION + " " + COMMIT
+}