summaryrefslogtreecommitdiffstats
path: root/model/version.go
diff options
context:
space:
mode:
Diffstat (limited to 'model/version.go')
-rw-r--r--model/version.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/model/version.go b/model/version.go
index a5227f328..c1e4615da 100644
--- a/model/version.go
+++ b/model/version.go
@@ -84,7 +84,7 @@ func GetPreviousVersion(version string) string {
}
func IsOfficalBuild() bool {
- return BuildNumber != "dev"
+ return BuildNumber != "_BUILD_NUMBER_"
}
func IsCurrentVersion(versionToCheck string) bool {