-
Notifications
You must be signed in to change notification settings - Fork 653
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
GitVersion.CommandLine.DotNetCore 4.0.0 borks on Ubuntu 18.04 with DllNotFoundException #1510
Comments
Currently, LibGit2Sharp doesn’t work/support Ubuntu 18.04. There is an open PR for it though: |
@gep13 the PR mentioned has now merged. |
I think this is waiting on pr #1422 to be merged, If you want to test it sooner you could try a build of that PR. |
It looks like the fix for this is included in LibGit2Sharp v0.26.0. Can we pretty please get this updated in GitVersion v4? We are using AWS CodeBuild and it uses Ubuntu 18.04 and we're completely dead in the water because of this silly libcurl4 issue. Thanks! https://github.com/libgit2/libgit2sharp/blob/a709ab84d4/CHANGES.md#v026---diff
|
Is there any update on this issue? |
Any progress on this? Would really like to see it fixed |
Have you tried the 5.0.0 beta release? https://www.nuget.org/packages/GitVersion.CommandLine.DotNetCore/5.0.0-beta3-4 There is also a dotnet cli global tool now you might be interested in: https://www.nuget.org/packages/GitVersion.Tool/5.0.0-beta3-4 |
I tried to use the latest 5.0.0 beta global tool on Ubuntu 18.04. It still fails with the same error |
I’m actually using the beta release. Both beta3-4 and the latest one (3-27 I think) have this issue. As far as I understand it, it requires an update of the LibGit2 dependency to be resolved. I can’t really use another GitVersion approach, e.g. the dotnet tool, since I’m just consuming it via the NUKE build project (cc FYI @matkoch) My CI workaround is to serialize the GitVersion Information in a Windows node and then use that on a Linux node. |
If docker is an option for you, that was the best solution we found to overcome this problem. Here's an example usage: GITVERSION_INFO=$(docker run --rm -v "$(pwd):/repo" gittools/gitversion-dotnetcore:linux-4.0.0 /repo)
export INFORMATIONAL_VERSION=$(echo $GITVERSION_INFO | jq -r .InformationalVersion) |
@JeremyCade, as LibGit2Sharp was upgraded to version 0.26 in #1713, we hope this problem should be gone now. Can you please try [the latest buildhttps://www.nuget.org/packages/GitVersionCore/5.0.0-beta4-1) and let us know how that works for you? Please reopen if you still have issues. |
I can confirm that version 5.0.0-beta4-1 works great on my Ubuntu WSL. Great job on the fix :-) |
Thank you for the confirmation 👍 |
Can confirm this is fixed with |
DotNet Core Runtimes / SDKs
The text was updated successfully, but these errors were encountered: