fsprojects / FAKE

FAKE - F# Make

Home Page:https://fake.build

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

getLastTag should have --tags as describe argument

akhansari opened this issue · comments

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

Script reported an error:
-> git describe failed: fatal: No annotated tags can describe '6e36165e8fa304de19d3743153696c517b16a888'.
   However, there were unannotated tags: try --tags.

Known workarounds

Fake.Tools.Git.CommandHelper.runGitCommand "" "describe --tags --abbrev=0"

Related information

  • Version of FAKE: 5.X