diff --git a/main.go b/main.go index 633c84161..1d1002bb7 100644 --- a/main.go +++ b/main.go @@ -12,7 +12,6 @@ import ( "github.com/apex/log/handlers/cli" "github.com/caarlos0/ctrlc" "github.com/fatih/color" - "github.com/goreleaser/goreleaser/internal/pipe" "github.com/goreleaser/goreleaser/internal/pipeline" "github.com/goreleaser/goreleaser/pkg/config" @@ -197,11 +196,11 @@ 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 ./... + 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