projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c7f5b6
)
Display version when building site (#8533)
author
Joe Mooring
<joe.mooring@veriphor.com>
Fri, 14 May 2021 14:45:13 +0000
(07:45 -0700)
committer
GitHub
<noreply@github.com>
Fri, 14 May 2021 14:45:13 +0000
(16:45 +0200)
Closes #8531
commands/hugo.go
patch
|
blob
|
history
diff --git
a/commands/hugo.go
b/commands/hugo.go
index b850f7e65bbe737c0cab5cd2b7676e7398c7feb5..fddbe2b77fcd922ee65863aa5581c70a894d1727 100644
(file)
--- 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)