1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-02-09 13:36:56 +02:00

warn when default goreleaser.yml file wasnt loaded

closes #235
This commit is contained in:
Carlos Alexandro Becker 2017-05-18 08:39:32 -03:00
parent da000288ad
commit 6ea93d173d
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -58,6 +58,7 @@ func Release(flags Flags) error {
if !os.IsNotExist(statErr) || flags.IsSet("config") {
return err
}
log.Printf("WARNING: Could not load %v\n", file)
}
var ctx = context.New(cfg)
ctx.Validate = !flags.Bool("skip-validate")