diff options
Diffstat (limited to 'weed/util/constants.go')
| -rw-r--r-- | weed/util/constants.go | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/weed/util/constants.go b/weed/util/constants.go index 9ddf07261..3433c550b 100644 --- a/weed/util/constants.go +++ b/weed/util/constants.go @@ -1,5 +1,14 @@ package util -const ( - VERSION = "1.23" +import ( + "fmt" ) + +var ( + VERSION = fmt.Sprintf("%s %d.%d", sizeLimit, 1, 84) + COMMIT = "" +) + +func Version() string { + return VERSION + " " + COMMIT +} |
