Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Git.Information.getBranchName fails with format exception on mac #1005

Closed
albertjan opened this issue Nov 17, 2015 · 1 comment
Closed

Git.Information.getBranchName fails with format exception on mac #1005

albertjan opened this issue Nov 17, 2015 · 1 comment

Comments

@albertjan
Copy link
Member

Taget "Git" (fun _ ->
   Git.Information.getBranchName "" |> ignore
)

Fails with;

git --version
Running build failed.
Error:
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber (System.String str, NumberStyles options, System.NumberBuffer& number, System.Globalization.NumberFormatInfo info, Boolean parseDecimal) in <filename unknown>:line 0
   at System.Number.ParseInt32 (System.String s, NumberStyles style, System.Globalization.NumberFormatInfo info) in <filename unknown>:line 0
   at System.Int32.Parse (System.String s) in <filename unknown>:line 0
   at Fake.VersionHelper.parseVersion (System.String version) in <filename unknown>:line 0
   at Fake.Git.Information.isGitVersionHigherOrEqual (System.String referenceVersion) in <filename unknown>:line 0
   at Fake.Git.Information.getBranchName (System.String repositoryDir) in <filename unknown>:line 0

git --version output is: git version 2.4.9 (Apple Git-60)

@dsyme
Copy link
Collaborator

dsyme commented Oct 6, 2016

fixed aready

@dsyme dsyme closed this as completed Oct 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants