Fake.Tools.Git.Information.getLastTag should have --tags as describe argument.
Repro steps
Run: Fake.Tools.Git.Information.getLastTag () on a repository with tags.
Expected behavior
Should return the last tag.
Actual behavior
Script reported an error:
-> git describe failed: fatal: No annotated tags can describe '6e36165e8fa304de19d3743153696c517b16a888'.
However, there were unannotated tags: try --tags.
Description
Fake.Tools.Git.Information.getLastTag
should have --tags as describe argument.Repro steps
Run:
Fake.Tools.Git.Information.getLastTag ()
on a repository with tags.Expected behavior
Should return the last tag.
Actual behavior
Known workarounds
Fake.Tools.Git.CommandHelper.runGitCommand "" "describe --tags --abbrev=0"
Related information