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

Error: GitVersion returned 1 #38

Open
ViolaGuy32 opened this issue Jul 14, 2024 · 1 comment
Open

Error: GitVersion returned 1 #38

ViolaGuy32 opened this issue Jul 14, 2024 · 1 comment

Comments

@ViolaGuy32
Copy link

ViolaGuy32 commented Jul 14, 2024

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
@pleonex
Copy link
Member

pleonex commented Jul 14, 2024

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

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