1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-03-17 20:47:50 +02:00

Merge branch 'master' into readme

This commit is contained in:
Carlos Alexandro Becker 2017-01-21 19:30:33 -02:00
commit 09e13cb2b7
No known key found for this signature in database
GPG Key ID: E61E2F7DC14AB940

View File

@ -31,7 +31,7 @@ func (p *Pipe) Run(ctx *context.Context) error {
return ErrDirty
}
cmd = exec.Command("git", "describe", "--exact-match", "--match", ctx.Git.CurrentTag)
cmd = exec.Command("git", "describe", "--exact-match", "--tags", "--match", ctx.Git.CurrentTag)
if err := cmd.Run(); err != nil {
return ErrWrongRef
}