releaser: Fix BuildDate in release binaries

Fixes #4299
This commit is contained in:
Bjørn Erik Pedersen 2018-01-22 11:21:58 +01:00
parent 9421380168
commit adee04f4b4
No known key found for this signature in database
GPG key ID: 330E6E2BD4859D8F

View file

@ -1,7 +1,7 @@
build: build:
main: main.go main: main.go
binary: hugo binary: hugo
ldflags: -s -w -X hugolib.BuildDate={{.Date}} ldflags: -s -w -X github.com/gohugoio/hugo/hugolib.BuildDate={{.Date}}
env: env:
- CGO_ENABLED=0 - CGO_ENABLED=0
goos: goos: