aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/main.go b/main.go
index ccfc884b1c..976bbdf1f7 100644
--- a/main.go
+++ b/main.go
@@ -8,6 +8,7 @@ package main // import "code.gitea.io/gitea"
import (
"os"
+ "runtime"
"strings"
"code.gitea.io/gitea/cmd"
@@ -61,8 +62,8 @@ arguments - which can alternatively be run by running the subcommand web.`
func formatBuiltWith(Tags string) string {
if len(Tags) == 0 {
- return ""
+ return " built with " + runtime.Version()
}
- return " built with: " + strings.Replace(Tags, " ", ", ", -1)
+ return " built with " + runtime.Version() + " : " + strings.Replace(Tags, " ", ", ", -1)
}