diff options
author | Joe Mooring <joe.mooring@veriphor.com> | 2021-05-14 07:45:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-14 16:45:13 +0200 |
commit | 76c95f55a5d18290baa7f23667161d4af9fb9b53 (patch) | |
tree | cfdffaa6997273a43da08f55a110dba3b56b677e /commands/hugo.go | |
parent | 2c7f5b62f6c1fa1c7b3cf2c1f3a1663b18e75004 (diff) |
Display version when building site (#8533)
Closes #8531
Diffstat (limited to 'commands/hugo.go')
-rw-r--r-- | commands/hugo.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/commands/hugo.go b/commands/hugo.go index b850f7e65..fddbe2b77 100644 --- a/commands/hugo.go +++ b/commands/hugo.go @@ -37,6 +37,7 @@ import ( "github.com/pkg/errors" "github.com/gohugoio/hugo/common/herrors" + "github.com/gohugoio/hugo/common/hugo" "github.com/gohugoio/hugo/common/loggers" "github.com/gohugoio/hugo/common/terminal" @@ -283,6 +284,7 @@ func (c *commandeer) fullBuild() error { if !c.h.quiet { fmt.Println("Start building sites … ") + fmt.Println(hugo.BuildVersionString()) if isTerminal() { defer func() { fmt.Print(showCursor + clearLine) |