You've already forked goreleaser
mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-09-16 09:26:52 +02:00
missing error return
This commit is contained in:
@@ -33,7 +33,7 @@ func (p *Pipe) Run(ctx *context.Context) error {
|
||||
|
||||
cmd = exec.Command("git", "describe", "--exact-match", "--match", ctx.Git.CurrentTag)
|
||||
if err := cmd.Run(); err != nil {
|
||||
|
||||
return ErrWrongRef
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user