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:
parent
c6c4df6d1c
commit
01189ba02b
6
main.go
6
main.go
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user