1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

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

View File

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