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.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/weed/util/constants.go b/weed/util/constants.go
index 12d96fea0..3fad472ed 100644
--- a/weed/util/constants.go
+++ b/weed/util/constants.go
@@ -7,7 +7,9 @@ import (
const HttpStatusCancelled = 499
var (
- VERSION_NUMBER = fmt.Sprintf("%.02f", 3.69)
+ MAJOR_VERSION = int32(3)
+ MINOR_VERSION = int32(69)
+ VERSION_NUMBER = fmt.Sprintf("%d.%02d", MAJOR_VERSION, MINOR_VERSION)
VERSION = sizeLimit + " " + VERSION_NUMBER
COMMIT = ""
)