From 275bcf566c7cb72367d4423cf4810319311ff680 Mon Sep 17 00:00:00 2001 From: James Munnelly Date: Mon, 24 Apr 2017 15:22:23 +0100 Subject: [PATCH] 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 --- goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/goreleaser.yml b/goreleaser.yml index 4b7fef63..582ad7d1 100644 --- a/goreleaser.yml +++ b/goreleaser.yml @@ -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 -- 2.30.2