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:
parent
e9ae3b0bf4
commit
e8a4a513d2
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user