1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-07-03 00:57:43 +02:00

improved some logs

This commit is contained in:
Carlos Alexandro Becker
2017-06-22 10:47:34 -03:00
parent beb62646c3
commit bd70d5ef42
13 changed files with 32 additions and 27 deletions

View File

@ -73,7 +73,7 @@ func (Pipe) Run(ctx *context.Context) (err error) {
return
}
if !ctx.Validate {
log.Warn("Skipped validations because --skip-validate is set")
log.Warn("skipped validations because --skip-validate is set")
return nil
}
return validate(ctx, commit, tag)
@ -169,7 +169,7 @@ func gitLog(refs ...string) (string, error) {
func getInfo() (tag, commit string, err error) {
tag, err = cleanGit("describe", "--tags", "--abbrev=0")
if err != nil {
log.WithError(err).Info("Failed to retrieve current tag")
log.WithError(err).Info("failed to retrieve current tag")
}
commit, err = cleanGit("show", "--format='%H'", "HEAD")
return