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:
commit
09e13cb2b7
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user