2014-08-08 12:35:15 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"os"
|
|
|
|
|
|
2021-08-26 08:42:22 -05:00
|
|
|
"github.com/grafana/grafana/pkg/cmd/grafana-server/commands"
|
2014-08-08 12:35:15 +02:00
|
|
|
)
|
|
|
|
|
|
2020-09-22 15:28:54 +02:00
|
|
|
// The following variables cannot be constants, since they can be overridden through the -X link flag
|
2022-09-09 09:44:50 +02:00
|
|
|
var version = "9.2.0"
|
2015-01-05 10:46:58 +01:00
|
|
|
var commit = "NA"
|
2021-05-06 16:29:29 +02:00
|
|
|
var buildBranch = "main"
|
2015-01-05 10:46:58 +01:00
|
|
|
var buildstamp string
|
2014-08-08 12:35:15 +02:00
|
|
|
|
2014-10-04 13:33:20 +02:00
|
|
|
func main() {
|
2021-08-26 08:42:22 -05:00
|
|
|
os.Exit(commands.RunServer(commands.ServerOptions{
|
|
|
|
|
Version: version,
|
|
|
|
|
Commit: commit,
|
|
|
|
|
BuildBranch: buildBranch,
|
|
|
|
|
BuildStamp: buildstamp,
|
|
|
|
|
}))
|
2015-08-25 15:22:24 +02:00
|
|
|
}
|