Ekona icon indicating copy to clipboard operation
Ekona copied to clipboard

Error: GitVersion returned 1

Open ViolaGuy32 opened this issue 1 year ago • 1 comments

I am trying to build, following the instructions on the main page, but I keep getting this:

========================================
PleOps.Recipe.Common.SetGitVersion
========================================
Cake.Core.CakeException: GitVersion returned 1
   at Cake.Frosting.PleOps.Recipe.Common.SetGitVersionTask.<Run>g__GetGitVersion|0_0(<>c__DisplayClass0_0&) in /_/src/Cake.Frosting.PleOps.Recipe/Common/SetGitVersionTask.cs:line 66
   at Cake.Frosting.PleOps.Recipe.Common.SetGitVersionTask.Run(PleOpsBuildContext context) in /_/src/Cake.Frosting.PleOps.Recipe/Common/SetGitVersionTask.cs:line 89
Attempting a second time to run GitVersion
An error occurred when executing task 'PleOps.Recipe.Common.SetGitVersion'.

----------------------------------------
TearDown
----------------------------------------
Error: GitVersion returned 1

ViolaGuy32 avatar Jul 14 '24 01:07 ViolaGuy32

What OS are you using to build? GitVersion may fail in some Linux distros because it has native libraries of git and they may be incompatible with new or past versions of glibc.

Can you try to update the version of GitVersion? For instance to the latest preview 6.0.0-rc.1. You can do that in .config/dotnet-tools.json

pleonex avatar Jul 14 '24 07:07 pleonex