shithub: hugo

Download patch

ref: a28865cfc3e296cf0ddd0bd6c1368fcdb2154d0f
parent: cb6c77b8130c2150ff0b2407b57e327f5742b1bc
author: Bjørn Erik Pedersen <[email protected]>
date: Mon Dec 24 04:20:09 EST 2018

release: Fix goreleaser config

--- a/goreleaser-extended.yml
+++ b/goreleaser-extended.yml
@@ -2,7 +2,7 @@
 builds:
 - binary: hugo
   ldflags:
-    - -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .ShortCommit }}
+    - -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .Commit }}
     - "-extldflags '-static'"
   env:
     - CGO_ENABLED=1
@@ -16,7 +16,7 @@
   goarch:
     - amd64
 - binary: hugo
-  ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .ShortCommit }}
+  ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .Commit }}
   env:
     - CGO_ENABLED=1
     - CC=o64-clang
@@ -29,7 +29,7 @@
   goarch:
     - amd64
 - binary: hugo
-  ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .ShortCommit }}
+  ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .Commit }}
   env:
     - CGO_ENABLED=1
   flags:
--- a/goreleaser.yml
+++ b/goreleaser.yml
@@ -2,7 +2,7 @@
 build:
   main: main.go
   binary: hugo
-  ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .ShortCommit }}
+  ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .Commit }}
   env:
     - CGO_ENABLED=0
   goos: