mirror of
https://github.com/goreleaser/goreleaser.git
synced 2025-03-17 20:47:50 +02:00
missing error return
This commit is contained in:
parent
956464bc67
commit
5539515057
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user