Permalink
Browse files

releaser: Fix statically linked binaries

In Hugo 0.20.3, the released binaries for Linux was no longer statically linked. This commit fixes that.

Fixes #3382
  • Loading branch information...
munnerz authored and bep committed Apr 24, 2017
1 parent cb3c6b6 commit 275bcf566c7cb72367d4423cf4810319311ff680
Showing with 1 addition and 1 deletion.
  1. +1 −1 goreleaser.yml
View
@@ -1,7 +1,7 @@
build:
main: main.go
binary: hugo
ldflags_template: -s -w -X hugolib.BuildDate={{.Date}}
ldflags_template: -s -w -X hugolib.BuildDate={{.Date}} -linkmode external -extldflags "-static"
goos:
- darwin
- linux

0 comments on commit 275bcf5

Please sign in to comment.