1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-12-05 02:29:54 +00:00

Use version.FormatVersion in the console printout

The only manual version place left is the docs.
This commit is contained in:
Timur Ismagilov 2022-09-04 21:49:31 +03:00
parent ade626a488
commit d2891da3e1

View File

@ -11,6 +11,7 @@ import (
"github.com/bouncepaw/mycorrhiza/categories"
"github.com/bouncepaw/mycorrhiza/interwiki"
"github.com/bouncepaw/mycorrhiza/migration"
"github.com/bouncepaw/mycorrhiza/version"
"github.com/bouncepaw/mycorrhiza/viewutil"
"log"
"os"
@ -36,7 +37,7 @@ func main() {
log.Fatal(err)
}
log.Println("Running Mycorrhiza Wiki 1.12.0")
log.Println("Running Mycorrhiza Wiki", version.FormatVersion())
if err := os.Chdir(files.HyphaeDir()); err != nil {
log.Fatal(err)
}