diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-12-24 09:20:09 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2018-12-24 09:20:09 +0100 |
commit | a28865cfc3e296cf0ddd0bd6c1368fcdb2154d0f (patch) | |
tree | 71f18e3407524e08f51d2b4d86865c3bcead8322 /goreleaser-extended.yml | |
parent | cb6c77b8130c2150ff0b2407b57e327f5742b1bc (diff) |
release: Fix goreleaser config
Diffstat (limited to 'goreleaser-extended.yml')
-rw-r--r-- | goreleaser-extended.yml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/goreleaser-extended.yml b/goreleaser-extended.yml index 8be278880..ce4b82a94 100644 --- a/goreleaser-extended.yml +++ b/goreleaser-extended.yml @@ -2,7 +2,7 @@ project_name: hugo_extended 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 @@ builds: 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 @@ builds: 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: |