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

Fake5: GitVersion not called with mono #2041

Closed
seanamosw opened this issue Jul 29, 2018 · 2 comments
Closed

Fake5: GitVersion not called with mono #2041

seanamosw opened this issue Jul 29, 2018 · 2 comments

Comments

@seanamosw
Copy link
Contributor

Description

When using Fake.Tools.GitVersion.generateProperties on non-windows machines, GitVersion.exe is not called with mono.

Fake4 has the correct behaviour.

Expected behaviour

let version = Tools.GitVersion.generateProperties id
mono xxxx/GitVersion.exe

Actual behavior

let version = Tools.GitVersion.generateProperties id
xxxx/GitVersion.exe

Script reported an error:
-> Start of process 'xxxx/GitVersion.exe' failed.
-> Win32Exception: Permission denied

Related information

  • Fake.Tools.GitVersion 5.2.0
@matthid
Copy link
Member

matthid commented Jul 29, 2018

The current workaround would be to just copy the fixed version into your script file until the fix is released (which will be next week once fsprojects/Paket#3307 is released). Alternatively, you can depend on the staging nuget feed (but be aware that we only keep a couple of version there): https://www.myget.org/F/fake-vsts/api/v3/index.json (use update to the alpha version of Fake.Tools.GitVersion)

@matthid
Copy link
Member

matthid commented Jul 29, 2018

(will take a couple of minutes until the build finished and the fixed version is available)

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