1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2024-12-29 01:44:39 +02:00

fix: improve goreleaser init

This commit is contained in:
Carlos Alexandro Becker 2018-10-04 22:21:45 -03:00 committed by Carlos Alexandro Becker
parent c6c4df6d1c
commit 01189ba02b

View File

@ -194,6 +194,12 @@ func loadConfig(path string) (config.Project, error) {
var exampleConfig = `# This is an example goreleaser.yaml file with some sane defaults.
# Make sure to check the documentation at http://goreleaser.com
before:
hooks:
# you may remove this if you don't use vgo
- go mod download
# you may remove this if you don't need go generate
- go generate ./...
builds:
- env:
- CGO_ENABLED=0