diff --git a/pipeline/source/source.go b/pipeline/source/source.go index 71e1ff1c3..0ab543377 100644 --- a/pipeline/source/source.go +++ b/pipeline/source/source.go @@ -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 }