diff options
author | Wim <wim@42.be> | 2016-05-15 23:02:30 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-05-15 23:02:30 +0200 |
commit | 59e6abcc11ed3a3548ffb02d1e455485672d8308 (patch) | |
tree | a5086741b8595d7eb33a0f41e7c109d064be33ef /vendor/github.com/mattermost/platform/model/version.go | |
parent | 38e3bbe5c96eb84f3e223c44f801ee7e3308b2c1 (diff) | |
download | matterbridge-msglm-59e6abcc11ed3a3548ffb02d1e455485672d8308.tar.gz matterbridge-msglm-59e6abcc11ed3a3548ffb02d1e455485672d8308.tar.bz2 matterbridge-msglm-59e6abcc11ed3a3548ffb02d1e455485672d8308.zip |
Sync with mattermost 3.0
Diffstat (limited to 'vendor/github.com/mattermost/platform/model/version.go')
-rw-r--r-- | vendor/github.com/mattermost/platform/model/version.go | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/vendor/github.com/mattermost/platform/model/version.go b/vendor/github.com/mattermost/platform/model/version.go index fe90644b..4a47f06e 100644 --- a/vendor/github.com/mattermost/platform/model/version.go +++ b/vendor/github.com/mattermost/platform/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{ + "3.0.0", "2.2.0", "2.1.0", "2.0.0", @@ -29,10 +30,10 @@ var versions = []string{ } var CurrentVersion string = versions[0] -var BuildNumber = "_BUILD_NUMBER_" -var BuildDate = "_BUILD_DATE_" -var BuildHash = "_BUILD_HASH_" -var BuildEnterpriseReady = "_BUILD_ENTERPRISE_READY_" +var BuildNumber string +var BuildDate string +var BuildHash string +var BuildEnterpriseReady string var versionsWithoutHotFixes []string func init() { @@ -119,5 +120,10 @@ func IsPreviousVersionsSupported(versionToCheck string) bool { return true } + // Current - 3 Supported + if versionsWithoutHotFixes[3] == versionToCheckStr { + return true + } + return false } |