diff options
author | Wim <wim@42.be> | 2016-04-16 20:39:43 +0200 |
---|---|---|
committer | Wim <wim@42.be> | 2016-04-16 20:39:43 +0200 |
commit | 51265d546409de12483531773fc1fbc73453ae6e (patch) | |
tree | 924b5be51b320a6fe05784f2495a2bfcfc7a3242 /vendor/github.com/mattermost/platform/model/version.go | |
parent | de4c7804101a47a01d0c9b88ea34d2b153e2b6b9 (diff) | |
download | matterbridge-msglm-51265d546409de12483531773fc1fbc73453ae6e.tar.gz matterbridge-msglm-51265d546409de12483531773fc1fbc73453ae6e.tar.bz2 matterbridge-msglm-51265d546409de12483531773fc1fbc73453ae6e.zip |
Sync with mattermost 2.2.0 release
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, 5 insertions, 9 deletions
diff --git a/vendor/github.com/mattermost/platform/model/version.go b/vendor/github.com/mattermost/platform/model/version.go index b3950dcc..fe90644b 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{ + "2.2.0", "2.1.0", "2.0.0", "1.4.0", @@ -28,10 +29,10 @@ var versions = []string{ } var CurrentVersion string = versions[0] -var BuildNumber string -var BuildDate string -var BuildHash string -var BuildEnterpriseReady string +var BuildNumber = "_BUILD_NUMBER_" +var BuildDate = "_BUILD_DATE_" +var BuildHash = "_BUILD_HASH_" +var BuildEnterpriseReady = "_BUILD_ENTERPRISE_READY_" var versionsWithoutHotFixes []string func init() { @@ -118,10 +119,5 @@ func IsPreviousVersionsSupported(versionToCheck string) bool { return true } - // Current - 3 Supported - if versionsWithoutHotFixes[3] == versionToCheckStr { - return true - } - return false } |