1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-24 04:16:27 +02:00

Merge pull request #226 from goreleaser/linkexternal

Use external, static linking.
This commit is contained in:
Carlos Alexandro Becker 2017-05-10 07:02:12 -03:00 committed by GitHub
commit e9ae3b0bf4

View File

@ -1,5 +1,6 @@
homepage: &homepage http://goreleaser.github.io
description: &description Deliver Go binaries as fast and easily as possible
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -linkmode external -extldflags "-static"
build:
goos:
- linux