1
0
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:
Carlos Alexandro Becker 2017-01-21 19:13:39 -02:00
parent 956464bc67
commit 5539515057
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -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
}