1
0
mirror of https://github.com/mattermost/focalboard.git synced 2024-12-24 13:43:12 +02:00
focalboard/server/model/version.go

66 lines
1.1 KiB
Go
Raw Normal View History

2021-01-20 00:10:14 +02:00
package model
import (
"github.com/mattermost/mattermost-server/v6/shared/mlog"
)
2021-01-20 00:10:14 +02:00
// This is a list of all the current versions including any patches.
// It should be maintained in chronological order with most current
// release at the front of the list.
var versions = []string{
2023-03-03 01:35:51 +02:00
"7.10.0",
2023-02-03 00:43:49 +02:00
"7.9.0",
2023-01-06 18:58:59 +02:00
"7.8.0",
2022-12-02 02:47:31 +02:00
"7.7.0",
2022-11-09 14:20:17 +02:00
"7.6.0",
2022-10-03 19:55:20 +02:00
"7.5.0",
2022-09-09 18:37:03 +02:00
"7.4.0",
2022-07-18 20:05:59 +02:00
"7.3.0",
2022-05-12 01:25:46 +02:00
"7.2.0",
"7.0.0",
2022-03-03 00:08:40 +02:00
"0.16.0",
"0.15.0",
"0.14.0",
2021-12-02 00:55:47 +02:00
"0.12.0",
2021-11-23 02:15:03 +02:00
"0.11.0",
2021-10-22 22:59:05 +02:00
"0.10.0",
"0.9.4",
"0.9.3",
"0.9.2",
2021-09-17 21:56:47 +02:00
"0.9.1",
2021-08-06 19:37:28 +02:00
"0.9.0",
"0.8.2",
2021-07-16 19:30:45 +02:00
"0.8.1",
2021-07-09 18:36:57 +02:00
"0.8.0",
"0.7.3",
"0.7.2",
"0.7.1",
"0.7.0",
2021-05-10 21:22:42 +02:00
"0.6.7",
2021-04-21 21:56:14 +02:00
"0.6.6",
2021-04-13 20:04:22 +02:00
"0.6.5",
2021-03-31 20:59:07 +02:00
"0.6.2",
2021-03-19 18:59:46 +02:00
"0.6.1",
2021-03-08 19:36:14 +02:00
"0.6.0",
2021-02-03 00:34:10 +02:00
"0.5.0",
2021-01-20 00:10:14 +02:00
}
2021-03-21 10:28:26 +02:00
var (
CurrentVersion = versions[0]
2021-03-21 10:28:26 +02:00
BuildNumber string
BuildDate string
BuildHash string
Edition string
)
// LogServerInfo logs information about the server instance.
func LogServerInfo(logger mlog.LoggerIFace) {
logger.Info("Focalboard server",
mlog.String("version", CurrentVersion),
mlog.String("edition", Edition),
mlog.String("build_number", BuildNumber),
mlog.String("build_date", BuildDate),
mlog.String("build_hash", BuildHash),
)
}