summaryrefslogtreecommitdiffstats
path: root/model/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/version.go')
-rw-r--r--model/version.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/model/version.go b/model/version.go
index 6e461e5d5..e4e0af491 100644
--- a/model/version.go
+++ b/model/version.go
@@ -13,6 +13,7 @@ import (
// It should be maitained in chronological order with most current
// release at the front of the list.
var versions = []string{
+ "4.8.0",
"4.7.1",
"4.7.0",
"4.6.0",
@@ -106,10 +107,6 @@ func GetPreviousVersion(version string) string {
return ""
}
-func IsOfficalBuild() bool {
- return BuildNumber != "_BUILD_NUMBER_"
-}
-
func IsCurrentVersion(versionToCheck string) bool {
currentMajor, currentMinor, _ := SplitVersion(CurrentVersion)
toCheckMajor, toCheckMinor, _ := SplitVersion(versionToCheck)