diff options
author | Bjørn Erik Pedersen <[email protected]> | 2020-08-14 12:03:22 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2020-08-16 21:37:26 +0200 |
commit | e627449c0a2f1d2ffac29357c4f1832fc5462870 (patch) | |
tree | ecf0e3f05dffd9b4fa0971efa77ea6866bb178a9 /goreleaser.yml | |
parent | c2235c6a62d29e0a9e2e274eb340358a445b695d (diff) | |
download | hugo-e627449c0a2f1d2ffac29357c4f1832fc5462870.tar.gz hugo-e627449c0a2f1d2ffac29357c4f1832fc5462870.zip |
Update to Go 1.15
Fixes #7554
Diffstat (limited to 'goreleaser.yml')
-rw-r--r-- | goreleaser.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/goreleaser.yml b/goreleaser.yml index 12afc286c..ade98c109 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -12,6 +12,9 @@ builds: ldflags: -s -w -X github.com/gohugoio/hugo/common/hugo.buildDate={{.Date}} -X github.com/gohugoio/hugo/common/hugo.commitHash={{ .ShortCommit }} env: - CGO_ENABLED=0 + flags: + - -buildmode + - exe goos: - darwin - linux @@ -39,6 +42,8 @@ builds: - CC=x86_64-w64-mingw32-gcc - CXX=x86_64-w64-mingw32-g++ flags: + - -buildmode + - exe - -tags - extended goos: @@ -53,6 +58,8 @@ builds: - CC=o64-clang - CXX=o64-clang++ flags: + - -buildmode + - exe - -tags - extended goos: @@ -65,6 +72,8 @@ builds: env: - CGO_ENABLED=1 flags: + - -buildmode + - exe - -tags - extended goos: |