mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
Simplify HugoNoGitInfo in magefile
This commit is contained in:
parent
2cc4765670
commit
66a169a249
1 changed files with 2 additions and 2 deletions
|
@ -69,9 +69,9 @@ func flagEnv() map[string]string {
|
|||
}
|
||||
|
||||
// Build hugo without git info
|
||||
func HugoNoGitInfo() {
|
||||
func HugoNoGitInfo() error {
|
||||
ldflags = noGitLdflags
|
||||
mg.Deps(Vendor, Hugo)
|
||||
return Hugo()
|
||||
}
|
||||
|
||||
var docker = sh.RunCmd("docker")
|
||||
|
|
Loading…
Reference in a new issue