summaryrefslogtreecommitdiffstats
path: root/goreleaser.yml
diff options
context:
space:
mode:
Diffstat (limited to 'goreleaser.yml')
-rw-r--r--goreleaser.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/goreleaser.yml b/goreleaser.yml
index 5f3e444cc..e52312b9c 100644
--- a/goreleaser.yml
+++ b/goreleaser.yml
@@ -2,7 +2,7 @@ project_name: hugo
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: