diff --git a/.goreleaser.yml b/.goreleaser.yml index 6f75f0946..850d21cfa 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -27,6 +27,12 @@ builds: # however it's a Pro feature - id: eru-core-linux binary: eru-core + env: + - CGO_ENABLED=0 + ldflags: + - -X github.com/projecteru2/core/version.REVISION={{.Commit}} + - -X github.com/projecteru2/core/version.VERSION={{.Env.VERSION}} + - -X github.com/projecteru2/core/version.BUILTAT={{.Date}} hooks: post: - cp ./eru-core-{{.Os}}.dbg {{.Path}}