You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-07-17 01:42:37 +02:00
logging the reasons why a pipe is being skipped
This commit is contained in:
@ -4,6 +4,7 @@ package git
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"log"
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
@ -65,6 +66,7 @@ func (Pipe) Run(ctx *context.Context) (err error) {
|
||||
// removes usual `v` prefix
|
||||
ctx.Version = strings.TrimPrefix(tag, "v")
|
||||
if !ctx.Validate {
|
||||
log.Println("Skipped validation because --skip-validate is set")
|
||||
return nil
|
||||
}
|
||||
return validate(commit, tag, ctx.Version)
|
||||
|
Reference in New Issue
Block a user