1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-13 13:48:40 +02:00

ldflags in the right section

This commit is contained in:
Carlos Alexandro Becker 2017-05-10 10:03:35 -03:00
parent e9ae3b0bf4
commit e8a4a513d2
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -1,7 +1,7 @@
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:
ldflags: -s -w -X main.version={{.Version}} -X main.commit={{.Commit}} -X main.date={{.Date}} -linkmode external -extldflags "-static"
goos:
- linux
- darwin