lib/ci_toolkit/git.rb in ci_toolkit-1.4.10 vs lib/ci_toolkit/git.rb in ci_toolkit-1.4.11

- old
+ new

@@ -7,10 +7,10 @@ @branch = env.git_branch @dir = dir end def latest_tag - describe = "git describe --abbrev=0" + describe = "git describe --tags --abbrev=0" return `#{describe}`.gsub("\n", "") unless @dir `cd #{@dir} && #{describe}`.gsub("\n", "") end