diff options
Diffstat (limited to 'goreleaser.yml')
-rw-r--r-- | goreleaser.yml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/goreleaser.yml b/goreleaser.yml index af887e512..0d1389b6a 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -9,7 +9,7 @@ builds: - binary: hugo id: hugo - ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .ShortCommit }} -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio + ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio env: - CGO_ENABLED=0 flags: @@ -32,7 +32,7 @@ builds: - binary: hugo id: hugo_unix - ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .ShortCommit }} -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio + ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio env: - CGO_ENABLED=0 flags: @@ -49,7 +49,7 @@ builds: binary: hugo id: hugo_extended_windows ldflags: - - -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .ShortCommit }} -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio + - -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio - "-extldflags '-static'" env: - CGO_ENABLED=1 @@ -66,7 +66,7 @@ builds: - amd64 - binary: hugo id: hugo_extended_darwin - ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .ShortCommit }} -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio + ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio env: - CGO_ENABLED=1 - CC=o64-clang @@ -83,7 +83,7 @@ builds: - arm64 - binary: hugo id: hugo_extended_linux - ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .ShortCommit }} -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio + ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.vendorInfo=gohugoio env: - CGO_ENABLED=1 flags: |