Goreleaser: [Question] Are system/ci env considered?

Created on 13 Nov 2018  路  3Comments  路  Source: goreleaser/goreleaser

Do I need to CGO_ENABLED inside the .goreleaser.yml in build.env if I set it globally in the CI? See https://github.com/Ilyes512/goreleaserpoc/blob/master/.travis.yml#L9

So my question is if system env's are taking into account. If so, what has precedence?

(BTW Really awesome project! I made a POC here. Really awesome :) Glad I came across it in the wild! 馃憤 )

question

All 3 comments

hi @Ilyes512, yes, it uses the env from the system. The .goreleaser.yml env takes precedence over the system's, as it is "more specific".

Thanks, I'm glad you liked it :)

Thanks for answering!

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings